- In the navigation pane of Dev Studio, click Records.
- Expand the category that you want to open, and then open the subcategory that holds the rule that you want to circumstance.
- In the list of instances, open the rule.
- In the rule form header, click the Down arrow next to the Save button, and then click Specialize by class or ruleset.
- Optional: To provide more information about the purpose of a new rule, in the
Label field, enter a new short description.The identifier remains the same even if you provide a new label.
- In the Context section, define a new location with which
to reference your rule:
- In the list of built-on applications, select an application layer for the rule.
- In the Apply to field, enter a class that you want to associate with the rule.
- In the Add to ruleset list, select a ruleset and a ruleset version to associate with the rule.
- Optional: To override the default work item that your application associates with this
development change, press the Down arrow key in the Work item to
associate field, and then select a work item.For more information about your default work item, see Setting your current work item.
- Click Create and open.
Specializing rules by class or ruleset saves time and improves consistency in your application, because when you specialize a rule, the system does not create a new rule instance with a new identifier but only references a rule that already exists. As a result, when you edit a rule, your changes apply in classes and rulesets that reference that rule, and you avoid editing multiple copies of the rule.