10
November 2, 2004AI: CLIPS Language Tutorial10 Rules r-name is the rule name comment must be surrounded by quotes pattern-i is the antecedent pattern action-j is the consequent pattern

11
November 2, 2004AI: CLIPS Language Tutorial11 Rules The agenda is the list of rules that have been matched and are waiting execution (agenda) will print out the rules The agenda is prioritized by salience value –Salience is specified by the programmer and is from - 10000 to 10000 –Default is 0 if (declare (salience 25)) is not in rule e.g. –Rules are selected for firing by salience –Two rules of same salience use LIFO to fire

12
November 2, 2004AI: CLIPS Language Tutorial12 Rules (pprule r-name) will pretty print out the rule (excise r-name) will remove a rule from the system

13
November 2, 2004AI: CLIPS Language Tutorial13 Variables Variables start with a ? –E.g. ?age –Bindings are valid within a rule only