This topic describes how to create a rule block within a rule set
or within another rule block.
First, open the Eclipse Workbench, if it is not already open. Also,
open the Rule Builder perspective.
If you are creating a rule set for the first time, you must create
at least one rule block within the rule set before you can create any rules.
After you have created that first rule block, you can create additional rule
blocks, including rule blocks within rule blocks.
To create a rule block,
take the following steps:
- In the Navigator view, double-click the name of the rule set file
that you want to update. The file is then opened in the Outline
view. When you click the rule set in the Outline view, the current information
for the rule set is shown in the editor area.
- In the Outline view, right-click the rule set.
- Click . A rule block is then shown
within the rule set in the Outline view, and the current information for the
rule block is shown in the editor area.
You can now create additional rule blocks in the following ways:
- To create a rule block that is a peer to an existing rule block, right-click
the existing rule block, and click .
- To create a rule block within an existing rule block, right-click the
existing rule block, and click .
Also, using the editor, you can update the information for the rule
set and each rule block. Proceed to Creating a rule.