BasicJavadocParser parser = new BasicJavadocParser(getSemanticTagHandlers());
try {
// try and find the first comment from the file, in order to
// provide documentation on the entire rule file
JavadocFragment packageComment = parser.findFirstCommentOfFile(file, this, factory, drools, root);
if (packageComment != null) {
drools.getJavadocs().add(packageComment);
}
// parse all the semantics from the rules