if(rules.getRules().size() > 0) {
ByteArrayOutputStream bost = new ByteArrayOutputStream();
PrintStream oldout = System.out;
System.setOut(new PrintStream(bost, true));
tkb.setRulePrefixes(this.rulePrefixes);
<BUG>tkb.applyRules(this.getComponentRules(comp.getID()));
if (!bost.toString().equals("")) {</BUG>
for (String exp : bost.toString().split("\\n")) {
details.addExplanations(exp);
}

if(rules.getRules().size() > 0) {
ByteArrayOutputStream bost = new ByteArrayOutputStream();
PrintStream oldout = System.out;
System.setOut(new PrintStream(bost, true));
tkb.setRulePrefixes(this.rulePrefixes);
tkb.applyRules(rules);
if (!bost.toString().equals("")) {
for (String exp : bost.toString().split("\\n")) {
details.addExplanations(exp);
