DSLR Rules for Operator Order Processing
rule "transform element command"
when
there is an operator order
- without a 2nd element
and with a matching operator
and a matching command code
- with the correct number of elements
and a matching 1st element
then
Discard the order
Create the corresponding element command
end
rule "transform route command"
when
there is an operator order
- with a 2nd element
and with a matching operator
and a matching command code
- with the correct number of elements
and a matching 1st element
and a matching 2nd element
then
Discard the order
Create the corresponding route command
end