public String compile(final InputStream stream,
final String worksheetName) {
final RuleSheetListener listener = getRuleSheetListener( stream,
worksheetName );
final Package rulePackage = listener.getRuleSet();
final DRLOutput out = new DRLOutput();
rulePackage.renderDRL( out );
return out.getDRL();
}