Those rats may also bite your hens, usually at the vent while on the roost. They be so stressed they are not resting or confident enough to linger in a nest box with predators in the coop ready to pounce. Those rats have to go, now, or you will lose hens.