"states are within their rights to rein in rogue local governments"