How are the rats getting in?
One solution I've seen people use is to get a fog machine, like are used for parties and start it up running in the area, then move around the inside and outside of the house looking for leaks.  It won't work so well for low lying areas, but for an attic it might present a good option.