Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Compose Business Rules

You use the Rule Composer to define a business rule written in plain text within a Business Rule element or Class operation. The Rule Composer enables you to model conceptual-level business rules at a logical level in tabulated format.

The Rule Composer displays as a view in the central work area. It consists of:

a Rule Statements Table
a Decision Table and
a Computation Rule Table

It assists in transforming business-level rules to technology-specific rules, or code. You can also download the contents of the Rule Composer to a spreadsheet application such as Microsoft Excel, via a CSV file.

Access     Right-click on a Rule Task element | Rule Composer

Rule Composer Tables



See also

Rule Statements

The Rule Statements table lists the rules associated with the selected Rule Task; you add a rule to the table by dragging an existing Business Rule element from the Project Browser onto an empty row in the Rule Statements table.

You do not create new rules within the table.


Add and Remove Rules


The Decision Table enables you to model conditional rules (for example: Cars must not be rented to customers of age less than 18).

The table has three sections:

Rule Conditions - to model condition variables
Rule Actions - to model action variables
Rule Bindings - to link the rule in the rule table


Define Rule Conditions

Define Rule Actions

Bind Rules to Conditions and Actions

Computation Rule

The Computation Rule table enables you to model rules involving computations

The table has the following columns:

Computation Rule Actions
Rule Bindings
Rule Dependency


Define Computation Rules


To assist with traceability, as you complete the relationships across the Rule Composer, selecting an entry in one table automatically highlights the corresponding rows and columns of the other tables; for example, if a Rule Statement is selected, the related rule column in the Decision Table and row in the Computation Rule Table are highlighted
Similarly, if a Computational Rule is selected, the corresponding column in the Decision Table and row in the Rule Statements list are highlighted

Learn more


Learning Center topics

(Alt+F1) | Business Modeling | Business Rules |  Rule Composer
(Alt+F1) | Business Modeling | Business Rules |  Rule Statement Table
(Alt+F1) | Business Modeling | Business Rules |  Rule Decision Table
(Alt+F1) | Business Modeling | Business Rules |  Computational Rule Table
(Alt+F1) | Business Modeling | Business Rules |  Rule Composer Example