if (useRules && ccomp.hasRules()) {
ByteArrayOutputStream bost = new ByteArrayOutputStream();
PrintStream oldout = System.out;
System.setOut(new PrintStream(bost, true));
tkb.setRulePrefixes(this.rulePrefixes);
<BUG>tkb.applyRules(this.getComponentRules(ccomp.getID()));
</BUG>
if (!bost.toString().equals("")) {
for (String exp : bost.toString().split("\\n")) {
explanations.add(exp);

if (useRules && ccomp.hasRules()) {
ByteArrayOutputStream bost = new ByteArrayOutputStream();
PrintStream oldout = System.out;
System.setOut(new PrintStream(bost, true));
tkb.setRulePrefixes(this.rulePrefixes);
tkb.applyRules(this.getCachedComponentRules(ccomp));
if (!bost.toString().equals("")) {
for (String exp : bost.toString().split("\\n")) {
explanations.add(exp);
