// parse all the semantics from the rules
String[] lines = parser.findJavadocTagsInTextFile(file, this, factory, root, new IJavadocReferenceCreator() {
public JavaElement createReference(String[] lines, int line) {
DroolsRule rule = createDroolsRule(factory, line, lines);
if (rule != null) {
drools.getRules().add(rule);
}
return rule;
}