// support legacy name
source = ( String ) properties.get( "source" );
}
if ( source != null && source.equals( Constants.RES_SOURCE_TYPE_DECISION_TABLE ) ) {
final SpreadsheetCompiler converter = new SpreadsheetCompiler();
final String drl = converter.compile( ruleExecutionSetStream,
InputType.XLS );
return createRuleExecutionSet( new StringReader( drl ), properties );
} else {
return createRuleExecutionSet( new InputStreamReader( ruleExecutionSetStream, IoUtils.UTF8_CHARSET ), properties);
}