I have a friend who has chickens that roam free, and had access to the shed outside where the rats are kept. They peck toes off of the rats, and cause a lot of injuries.
No good.
Plus they'll try to eat the rat food. . . Poop on the rack, who knows what else.