Use local storage to avoid waiting for rules to reload every page reload

Hopefully this will result in less upfront network traffic waiting for rules to reload.