You want to define a set of rules that assigns the characteristic R phrases of the value assignment type Labeling with the R phrase R10 (Flammable) for substances with a flash point between 21 and 55°C. The value assignment type flash point is only to contain one data record, or in other words, assigned a single value.
Procedure
21 < FLASH_POINT_VAL
is now in the Condition (IF) field.The internal fact key
LAB_R_PHRAS appears in the Left Expr. field and the system automatically adds the operator := to the ToDo field.The internal phrase key "[#R10#]" appears in the Right Expr. field.
Result
See
Using the Rule Editor.The rule file (<name>.rul) has the following structure:
FACTS | ||
LAB_R_PHRAS(OUT), | ||
FLASH_POINT_VAL(IN), | ||
;Rules | ||
RULES | ||
RULE NEWRULE1 | ||
DESCRIBE "Derivation of R phrase from flash point" | ||
IF 21 < FLASH_POINT_VAL, FLASH_POINT_VAL < 55 | ||
THEN | ||
LAB_R_PHRAS := "[#R10#]" | ||
END | ||
END |