I don't think total rat proofing is possible if the infestation is bad enough. Recently, the large, dense forest across the road from me was cleared (deforested) by it owners for its timber.
This resulted in an onslaught of rats to my home and barns. Nothing stopped them & they were numerous...