RuleElement nextElement = ruleElement.getContainer().getNextElement(after, ruleElement);
if (nextElement == null) {
return false;
}
ComposedRuleElementMatch extendedContainerMatch = containerMatch.copy();
RuleMatch extendedMatch = ruleMatch.copy(extendedContainerMatch);
nextElement.continueMatch(after, annotation, extendedMatch, null, extendedContainerMatch, null,
nextElement, stream, crowd);
List<RuleElementMatch> nextList = extendedContainerMatch.getInnerMatches().get(nextElement);
return nextList == null || nextList.isEmpty() || !nextList.get(nextList.size() - 1).matched();
}