The following are valid formats for rule restrictions used by RULEEDIT:
<SimpleCondition>
<Condition> | <Condition>
<Condition> & <Condition>
(<Condition>)
! <Condition>
<SimpleCondtion> ::= <StringCondition> | <NumericCondition>
<StringCondtion> ::= <Tag> ( = | # | } ) <StringLiteral>
<NumericCondition> ::= <Tag> ( # | = | > | < ) <NumLiteral>
<BoolCondition> ::= <Tag> = ( 1 | 0 )
<Tag> ::=<PR_xxxx of a property for a string value> |[ <HexNumber> ]
<NumLiteral> ::= <Decimal Number>
<StringLiteral> ::= <String enclosed in AND>
<HexNumber> ::= <StringOfHexDigits>
where the following rules apply:
A | B | C <=> ( A | B ) | C.
A | B & C | D <=> ( (A | B ) & ) C | D
: ! A | !B & ! ( !C | D ) <=> ( ( ! A ) | ( ! B ) ) & ( ! ( ( ! C ) | D ) )
Note Unlike action entries, only one restriction entry may be present in a command section. If a rule is invoked on a complex restriction, the restriction must still be included in a single expression