RutaStream stream, boolean addToIndex, boolean withMatches,
Map<RutaElement, Long> timeInfo) {
JCas cas = stream.getJCas();
DebugRuleMatch drm = null;
if (match.matchedCompletely()) {
drm = new DebugMatchedRuleMatch(cas);
} else {
drm = new DebugFailedRuleMatch(cas);
}
drm.setMatched(match.matchedCompletely());
if (match instanceof RuleMatch) {