public static String convertToDRL(PMML pmml, DrlType drlType) {
        if (pmml != null) {
            ScorecardCompiler scorecardCompiler = new ScorecardCompiler(drlType);
            scorecardCompiler.setPMMLDocument(pmml);
            return scorecardCompiler.getDRL();
        }
        return null;
    }
public static String convertToDRL ( PMML pmml , DrlType drlType ) { if ( pmml != null ) { ScorecardCompiler scorecardCompiler = new ScorecardCompiler ( drlType ) ; scorecardCompiler . setPMMLDocument ( pmml ) ; return scorecardCompiler . getDRL ( ) ; } return null ; }
/* convienence method for use from Guvnor