A method for providing inferencing services includes receiving a plurality
of rules for a specified domain. The method also includes identifying a
precondition associated with the rules and a postcondition associated
with the rules. The precondition represents an input used in executing
the rules, and the postcondition represents an output from the execution
of the rules. The method further includes receiving an input value
corresponding to the precondition. In addition, the method includes
executing at least a portion of the rules using the input value to
generate an output value. The output value corresponds to the
postcondition.