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