refactor rule_parameter_set