fix DynamicRulesTest