It is possible to combine rules by using logical operators (And, Or, Not).
In FlaFi several rules can be inclosed in brackets that contain operator of one type.
If conditions A, B and C belong to the Or bracket then resulting rule will be (A or B or C).
To create a complex rule in the Rule Builder:
·
Right click on the Rules node and select Add->Bracket->{Type of operator};
To rule to the bracket right click on the node (AND, OR, NOT) and select Add->{Rule Type}
Example:
Lets consider the following example in the Rule Builder for the field with name X:
This rule can be represented like this:
NOT (X!=1 AND (Length(X)>2 OR X<0) AND (X>0 AND Length(X)=3)).