Methods and apparatus, including computer program products, for inference
processing in a fact-based business automation system, including
receiving a rule set as a single package, generating a dependency graph
for the rule set, and generating a sequence of processing logic for
optimal processing of inputted facts.