1. A computer-implemented method for combining rule-based technology and object oriented programming, comprising: instantiating a rule-based module comprising a plurality of rules utilizing a compiled domain model, wherein said rule-based module comprises an object-oriented representation of said compiled domain model; compiling a Left-Hand Side (LHS) of said rule-based module into at least one condition pattern utilizing a rule compiler wherein said condition pattern includes a transformer field, which comprises an integer array for recording the position of a plurality of object variables of said LHS within said condition pattern; and generating a tree structure by loading said compiled domain model and said at least one condition pattern associated with said rule-based module and propagating a plurality of tokens by asserting said plurality of object variables based on inheritance type hierarchy wherein said plurality of tokens end at a terminal node.