Add rules local caching