Rats need to be exterminated. Keep food closed off to them. Use one of those feeder that the birds have to stand on to open.