public DebugRuleElementMatch createDebugComposedRuleElementMatch(ComposedRuleElementMatch rem,
RutaStream stream, boolean addToIndex) {
JCas cas = stream.getJCas();
DebugRuleElementMatch drem = new DebugRuleElementMatch(cas);
DebugEvaluatedCondition base = new DebugEvaluatedCondition(cas);
base.setValue(rem.isBaseConditionMatched());
setInnerMatches(stream, addToIndex, cas, drem, rem);
String baseString = verbalizer.verbalize(rem.getRuleElement());
base.setElement(baseString);
drem.setBaseCondition(base);
drem.setConditions(createEvaluatedConditions(rem, stream, addToIndex));
List<AnnotationFS> annotations = rem.getTextsMatched();
if (!annotations.isEmpty()) {
drem.setBegin(annotations.get(0).getBegin());