1. A method for automatically generating object-oriented source code in an object-oriented programming language with embedded inferencing, the object-oriented programming language with embedded inferencing having semantic features that support inferencing over rules without an instantiated inference engine, wherein the method comprises: identifying a profile construct implemented in a modeling template, wherein the profile construct includes a semantic extension to a modeling language that provides the modeling language with functionality associated with the semantic features that support inferencing over rules in the object-oriented programming language with embedded inferencing; mapping the profile construct implemented in the modeling template to an object-oriented construct in the object-oriented programming language with embedded inferencing, wherein a computer system uses a metamodel associated with the modeling language, a metamodel associated with the object-oriented programming language with embedded inferencing, and a mapping algorithm associated with the profile construct to map the profile construct to the object-oriented construct; and generating an object-oriented source code module in the object-oriented programming language with embedded inferencing from the object-oriented construct mapped to the profile construct, wherein the object-oriented source code module includes the functionality associated with the semantic features that support inferencing over rules in the object-oriented programming language with embedded inferencing.