Remove ALL food sources, & the rats will leave. This means feed the chickens only what they will completely consume, & don't leave anything for the rats to eat. Collect the eggs, as soon as they are laid, if possible. The rats will move off to an easy food source.