Rule Sets are rules corresponding to a Rule Template that is in a test or active status.
The page provides a means to provision rule(s) to the Rule Set ({name} is the name of the Rule Set).
Condition set expression and actions are displayed above the Rule Set in a form of an IF (Condition set expression) and THEN (Actions).
The page displays the following columns:
- Rule Id is a unique number from the database table that identifies each rule in the Rule Set.
- Move the rule is a means to move the order of the rules by using the Up and Down buttons.
Up and
Down buttons appear in the
Move the rule columns for a rule or rule group when the order of the rules is allowed to be changed, with the following restrictions:
- When the Filter function or clicking a Condition column heading is used to sort the columns, the Move the rule columns are not displayed. Click Restore Order to return the list to its original order.
- If all of the conditions in the rule support Fast Search, then the Move the rule columns are not displayed. See Fast Search.
- If there is at least one condition that does not support Fast Search, then the Up and Down buttons are displayed according to the following rules:
- All of the rules that support Fast Search always appear in the list before any rules that do not support Fast Search.
- The rows that have exactly the same data in the conditions that support Fast Search form a group. Rows can be moved only within their group; the Up and Down buttons are enabled and disabled accordingly.
Table 3-29 shows an example of default ordering of rules.
Each row across the columns is inserted (created) in the list when a rule is provisioned. The rules on a are looked up in the database in the order in which they are listed on the page. By default, the rules are sorted in the list by condition as defined in Fast Search.
When a Rule Set entry is selected in the Rule Sets folder, the page opens for the selected Rule Set.
On each page, a user can perform the following actions:
- If the Move a rule columns are displayed and contain Up and Down buttons, move rules up and down in the list to change the order of execution of the rules in the Rule Set.
- Insert to add a new rule.
Note:
The maximum number of provisioned rules per template/rule set depends on the template type. For slow-search templates, which have at least one slow-search condition, the maximum number of provisioned rules is 250. For fast-search templates, the maximum number of provisioned rules is 2000. To determine if the template is a fast-search reference
Fast Search versus slow search.
The maximum total number of provisioned rules in the system cannot exceeded 148,000, provided all the templates are of fast search type ((10 test templates + 64 active templates) * 2000)).
The rule templates with no conditions is unconditionally matched for all processed messages. The Rule Sets generated from these Rule Templates allow only one rule to be provisioned.
- Import to import rules from an either XML-file (Rule Template) that is in a Test or Active state.
- Delete All Rules to delete all of the rules that have been provisioned for this Rule Set.
- Edit a rule.
- Delete a rule from the Rule Set list.
- Export to export rules to create an XML-file containing the Mediation version number, Template Definition, the provisioned values of the conditions and actions for each rule.
- Show Counters to open the Rule Counters column of the Rule Set. A Total Pegs column displays the number of times the specific rule is matched.
If Show Counters is grayed out and the Rule Counters are not available. To enable the rules counter see Editing State and Properties.
When the Rule Sets View page is expanded with the Rule Counters, the following buttons are available:
- Hide Counters to hide the Rule Counters column.
- Expand Counters expands more sub-columns under the Rule Counters for all MPs under the SO. Each sub-column is MP name and displays the counters for each.
- Collapse Counters to hide the MP counters.
- The Pause Updates box is unchecked by default. This means the counters refreshes every 30 second to provide the user a printout on the GUI page. Checking the Pause Updates box pauses the counters. To disable the counter, see Editing State and Properties.