Chickens are not considered prey of rats so they are safe from predation. However, rats will be attracted to chicken feed. That is why it is so important to keep the area clean, not only of poop but excess food on the ground.