start of rules cache
converted cache to customcache