I want to use LanguageTools (great tool!) in a Java application (in a Maven Mojo) for an automatic check of our DocBook documentation.
What is the best way to add my own rules? With addTemporaryFile? Another question: In the standalone version, one gets the context of an error which is very helpful but RuleMatch has not method for this. So, how can I get the context?