Figure 6: The main components of a rule based system are the database, the rule

base and the inference engine.