IamRainey
Crowing
Put all feeders up for the night in a tightly sealed container, and keep the feed in a tightly sealed container as well. Taking away the food source will make them go away.
That's what I did. I took out the feeders and gathered up any uneaten kitchen scraps and fallen feed (you might want to switch to pellets that are easier to gather). I put red lights out in the run so I could see them and watch their activity at night. I could also tell when they were GONE!
My experience was the same as kathycall that traps were fairly useless and my pellet gun harassed them more than dispensed any. But scrupulously removing all the food at night seemed to make the biggest difference.
Once they were OUT I put 12" concrete pavers 360˚ around the perimeter of the enclosure to keep them out. And I now have a whole raft of large spring loaded traps around the outside perimeter of the chicken's enclosure to just make the rats wary of the whole area. I caught a lot of rats the first couple months. Fewer these days but once you've bought the traps it doesn't cost anything to keep them armed. I don't even bait them. I just don't want them to be able to go a couple body lengths without encountering one and deciding that there are more convenient food sources.