The action block is executed for a rule when pattern matching succeeds (or does not exist) and the filter is TRUE (or does not exist). An action block uses the following form:

do {
<action-list>
}

Action lists can occur only within a do block. An action list is composed of statements. Statements include variable assignments, conditional actions, and rules. Each statement must end with a semicolon. An example of an action block is as follows:

do {
statement_1;
statement_2;
statement_3;
}