Assume you have an expert system that has the following rulesand facts: Rule 1: If the alarm beeps there is smoke. Rule 2: Ifthere is smoke and it is very hot you would conclude that there isa fire. Rule 3: If there is a fire then turn on the sprinklersystem.