Or if you're too lazy or not inclined to make the above...
http://www.amazon.com/gp/product/B001QT4F1O/ref=oh_aui_detailpage_o05_s00?ie=UTF8&psc=1
We had a rat visiting every night and I tried all the usual stuff to get him...electronics, plugging holes, sitting outside with the 10/22, etc. Finally got the tube above with the poison and it got him. Tube was placed outside the run next to the coop and it's nice because the chickens can't get at it, even when they're free ranging due to the design.
http://www.amazon.com/gp/product/B001QT4F1O/ref=oh_aui_detailpage_o05_s00?ie=UTF8&psc=1
We had a rat visiting every night and I tried all the usual stuff to get him...electronics, plugging holes, sitting outside with the 10/22, etc. Finally got the tube above with the poison and it got him. Tube was placed outside the run next to the coop and it's nice because the chickens can't get at it, even when they're free ranging due to the design.