In order for Rhapsody to use the RulesPlayer instead of the native code generation, the CG.Configuration.CodeGeneratorTool property must be set to "External".
The RulesPlayer must be configured to use the deployed ruleset that you wish to use for code generation. The lang_CG.Configuration.GeneratorRulesSet needs to be set to point to your deployed launch configuration classpath file (.classpath).
The lang_CG.Configuration.GeneratorScenarioName is used to specify the full path name for the entry rule for the generation. For example "scenarios.Rhapsody_Generation.main".