The “Rules” window (see Figure 26) allows you to view, create, edit, enable and disable rules for all protected web applications or for each one separately, filter them by categories (tags) and by the decision they provide (block, skip, mark).
2 1

Figure 26 – “Rules” window
The highlighted area contains information on the number of applications on the installation, information on the number of high-threat applications and information on the total number of rules on the installation.
Application list – contains a list of all applications available to the user. To the right of the application name is the number of rules created for it. When you click on an application, the rules created for that application are displayed.
Tags – the block contains a list of keywords (tags) used in the rules. To the right of the tag is the number of rules in which it is installed. When you select a tag, all rules in which it is set are displayed. In order to select a tag, just click on the line with the tag name; To reset a tag’s selection, you must click on it again, or click
to reset all tags.Add a rule – when you click on this button, the window for creating a rule opens, as shown in the figure section 21 (the mechanism for creating a rule is described in the section section 21).
Figure 27 – Rule creation window
Bulk actions – the block allows you to perform operations on multiple rules. In order to mark all the rules, you must click on the “Mark all” button. In order to remove all selections, you must click on the button. It is also possible to pointly mark or remove selections; this mechanism is described in paragraph 7. When you hover the mouse cursor over the
button, a pop-up menu of mass actions opens (see Figure 28).

Figure 28 – Pop-up menu of mass actions
In this window you can select the following actions:
delete – deletes all selected rules;
tag – add a tag to all selected rules;
enable – enable all selected rules;
disable – disable all selected rules.
Filter by actions with transactions in rules – using this filter, you can display rules by actions with transactions that fall under them (block, mark, skip). By default, all actions are displayed, but when you hover over the filter, a pop-up window appears with a selection of actions (see Figure 29).

Figure 29 – Filter by actions with transactions in rules
Area with rules – the selected area contains the rules that fall under the specified filters (by default, all rules are displayed). To the left of the rule name there is a field for highlighting the rule (where the highlighted rule is:
) for subsequent bulk actions. In the upper right corner of the rule block there is a switch that allows you to enable or disable the rule (rule enabled
, rule disabled
). When you click on a rule with the left mouse button, general information about the rule opens (see Figure 30): a brief description of the rule, rule tags, creation date, number of triggers, revision information (i.e., the rule version). The Administrator and Analyst can also enable/disable, edit, delete a rule, as well as move the rule in the list. The operator has access only to general information about the rule.

Figure 30 – General information about the rule
After clicking the “Delete” button, the rule is moved to the “Deleted” section. After clicking
“Edit” will open the “Rule” window (see Figure 31). A detailed description of creating and editing rules is in the section section 21

Figure 31 – Editing a rule
The rules are arranged in descending order of priority, i.e. traffic that falls under two rules will be processed in accordance with the rule located higher in the list. To move a rule, you need to move the cursor over the left corner of the rule block, then click on the three vertical dots that appear and, holding down the left mouse button, move the rule.
Deleted rules – when you click on this button, a window with all deleted rules will open (see Figure 32).

Figure 32 – Deleted rules
Deleted rules can be restored either in bulk (rules are selected by analogy with the mechanism described above) or individually by right-clicking on the rule and clicking
“Restore”.
Note
rules are restored in disabled mode, do not forget to enable the rule if necessary.
