Updating rules by calling add-rule would work, but would require calling code to know about internals of rules and would be inconvenient when using defrule. It might also require calling code to be updated when rule changes (for example the recent addition of guards).
Updating rules by calling
add-rule
would work, but would require calling code to know about internals ofrule
s and would be inconvenient when usingdefrule
. It might also require calling code to be updated whenrule
changes (for example the recent addition of guards).