Can't say I've ever had rats, but have chased after a mouse, polyfillering any hole I could see, and randomly bashing where I thought it may be with a mallet (still not sure if I wanted to hit it). Ended up just hoping it would just go away of its own accord