Mint is fine for chickens - I add it to their DLM to encourage them to dig around for it and to assist in composting by doing so.
For rats, I'd set snap traps - and place them where your chickens can't mess with them. Bait with peanut butter so they can't steal the bait...