Hello and welcome to BYC .
To help answer your question I've supplied a link to the BYC Learning Centers article on rats.
https://www.backyardchickens.com/a/rat-chicken-pests-how-to-protect-your-chickens-from-rats
Here are a couple of recent threads on the subject...