1. A method comprising: in a processing system, 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.