store engine rule in memory