Managing business rules
A business rule defines guideline with necessary constraint(s) needed for executing certain business operations. You can record and describe business rules with rule editor, as well as to identify the term (vocabulary) involved in the rule, which helps tracing fact concepts around rules.
Defining a business rule
If you want to define a business rule, you need to create the rule and define it in the rule editor. Here are the steps:
- Click on Business in toolbar, and select Business Rule from the drop down menu.
 |
To create a business rule
|
- This shows the rule editor. An ID, which is a number indicating the order of rule creation, is assigned automatically. You may change it if you like. Name the rule with a short and descriptive phrase. Fill in the rule content in the Rule field.
 |
Rule editor
|
An overview of rule editor

|
Overview of rule editor
|
| No. | Name | Description |
| 1 |
Rule |
A tab that shows the primary rule information such as its name and definition
|
| 2 |
Stereotypes |
A list of stereotypes applied to the rule. You can extend a rule from a stereotype to add domain specific meaning to it. For example, you can extend a rule from stereotype critical to represent an important rule. |
| 3 |
Attributes |
Read, add and remove attributes from the rule. Attributes can be added to denote extra properties to a rule. |
| 4 |
ID |
A value that makes each rule unique. When you create a rule, an ID will be assigned automatically. The assigned ID indicates the order of rule creation. |
| 5 |
Name |
A short phrase that describes the rule. |
| 6 |
Rule definition |
A longer and more detailed description of rule. |
| 7 |
Synchronize selection |
When the checkbox is checked, the Terms and Facts' active node selection will follow the selection as pointed by the mouse pointer in the Rule definition field. |
| 8 |
Terms |
A list of terms that involve in the rule definition. |
| 9 |
Term definition |
By selecting a term in Terms list, its definition will appear in the Definition field. |
| 10 |
Facts |
A list of facts that involve in the rule definition. |
| 11 |
Term definition |
By selecting a term in Facts list, its definition will appear in the Definition field. |
|
Description of rule editor
|
Visualizing business rule on diagram
Instead of creating a business rule as described above, you can also create a business rule shape on a diagram. Although there is no specific type of diagram made for presenting business rule, you can draw business rule on any type of diagram. To draw a business rule on a diagram:
- Scroll to the Common category in diagram toolbar and select Business Rule.
 |
Selecting Business Rule in diagram toolbar
|
- Click on the diagram to create a business rule. Name the rule with a short and descriptive phrase and press Enter to confirm.
 |
| A business rule is created |
If you need to describe the rule in detail, right click on the rule shape and select Open Rule Editor from the popup menu. After that, fill in the rule definition in rule editor as mentioned above.
 |
Open the rule editor to define the rule
|
Expanding and collapsing rule
A business rule shape has two visual states - collapsed and expanded. In collapsed state, business rule hideaway the definition of rule, while in expanded state, a new compartment will appear in the middle rule shape for showing the rule definition.
To expand or collapse a rule shape, click on the top left corner of rule shape.
 |
Expand a collapsed rule shape
|
 |
An expanded rule shape
|
Business rule group
If you find a number of rules are of the same category, you can group them.
- Select the rule shapes.
 |
Select rules
|
- Right click on the selection and select Group Business Rules from the popup menu.
 |
To group rules
|
 |
Rules are grouped
|