The following figure shows two rules that each make an assignment to maxFuel, depending on the type of aircraft:Figure 1. A calculation in an action expression
In rule 1, the maxFuel load for 747s
is derived by subtracting maxCargoWeight and emptyWeight from grossWeight. In rule 2, maxFuel for
DC-10s is assigned the literal value 100000.