before  Rule template dictionary changes