Please be very careful around your coop with venomous snakes nearby. At the worst, you could reach into a nest box to gather eggs and get bitten. They will eat eggs....
As much as I like to let beneficial snakes be around the yard, I would be hesitant to let a rattler stick around the yard. I usually relocate them as a rule, a loooonnng way from here (saint augustine, FL).
I've had two yellow rat snakes this year so far, one with an egg in it's belly and one simply coiled up on top of five eggs in one nesting box. I removed them and released them elsewhere.
If you are not comfortable handling a venomous snakes, you should get a hoe and chop the head off, do not handle the head, it can still bite at you when severed.