Refactor RuleParameter