}
RutaSelectionParser parser = new RutaSelectionParser();
ISourceModule unit = (ISourceModule) getInputModelElement();
ModuleDeclaration parsed = parser.parse(unit);
RutaRuleIdVisitor visitor = new RutaRuleIdVisitor(id);
try {
parsed.traverse(visitor);
} catch (Exception e) {
}
RutaRule rule = visitor.getResult();
myAnnotations = new HashMap<Annotation, Position>();
if (rule != null) {
Annotation annotation = new Annotation(SearchPlugin.SEARCH_ANNOTATION_TYPE, true, null);
int sourceStart = rule.sourceStart();
int sourceEnd = rule.sourceEnd();