I keep the rat and mice population down with Ramik.. Or you could make a bucket trap (with water in it).. Rats and mice attract rat snakes.. I also collect eggs at dusk so as to not leave enticements. I've killed a half dozen rat snakes that got caught up in the deer netting on the tops of some of my pens.