1. A method for forming and using a composite production rule, comprising: compiling, by a computer system, a decision table or a decision tree to generate a composite production rule; generating, by the computer system, the composite production rule; selecting, by the computer system, an algorithm for compiling the composite production rule; compiling, by the computer system, the composite production rule into an executable program based on pattern matching of the selected algorithm, wherein the selected algorithm for compiling the composite production rule comprises one of a Rete algorithm and a sequential program, the composite production rule being compiled to generate the sequential program for executing the composite production rule in response to the sequential program being selected and the composite production rule being compiled on a Rete network in response to the Rete algorithm being selected, the composite production rule being represented by at least a node and a case node added in a join level of the Rete network; and executing, by the computer system, the composite production rule to provide an output based on the composite production rule.