In this research uses the production rule-based knowledge representation and it consists of list of rule (shown on table 2). The rule can be defined as IF pi THEN ci, and we define pi as premise and ci as conclusion of rule. For the relationship between each rule can be displayed in rule-treestructure. This structure consists of root node for starting rule, intermediate
node for intermediate rule, terminal node for conclusion rule, and link for relation description. The algorithm for transforming rule base to rule-tree structure can be done by scanning all rules in knowledge base for finding the linkage of rule relations, which is shown in figure 8.