You have to get rid of the rats. While I am a big proponent of not killing wild things, the rats are killing your babies, so it's a whole different ballgame in my mind. Nests under your coops is unacceptable.
My birds free range only when I at home and are locked in at night. Slightly unhappy...