if (rule instanceof ElementTypeRule) {
String elementTypeName = rulePosition.getText();
ComponentLocateScope componentLocateScope = new ComponentLocateScope(project, elementTypeName, true);
LocalizedComponentsLocateResult localizedComponentsLocateResult = new LocalizedComponentsLocateResult();
Locate locate = new Locate(componentLocateScope, localizedComponentsLocateResult);
locate.locate();
IFile wodFile = localizedComponentsLocateResult.getFirstWodFile();
if (wodFile != null) {
WorkbenchUtilities.open(wodFile, "org.objectstyle.wolips.componenteditor.ComponentEditor");
}