Deal with the rat problem as it could be them, then make sure every tiny access point is covered. Mustelids can squeeze themselves in through the very tiniest gaps, including quite small mesh. They can also climb up to the roof and perhaps get in that way. If a rat can squeeze in, so can a stoat or more particularly a weasel. Sounds like you need a new hen house!