we are now building the rule key