} else if (tms.size() == 1) {
RuleElementMatch tm = tms.get(0);
List<AnnotationFS> textsMatched = tm.getTextsMatched();
if (textsMatched.size() == 1) {
AnnotationFS fs = textsMatched.get(0);
if (typeSystem.subsumes(jcas.getCasType(FSArray.type), range)) {
List<AnnotationFS> list = new ArrayList<AnnotationFS>();
list.add(fs);
structure.setFeatureValue(targetFeature, UIMAUtils.toFSArray(jcas, list));
} else if (typeSystem.subsumes(range, fs.getType())) {
structure.setFeatureValue(targetFeature, fs);