Currently, a LT server can be run using a languagetool.cfg file for setting enabled and disabled rules. But in this server when you use enabledRules and disabledRules via API, the rules in languagetool.cfg are forgotten.
I need another behavior. I need the default rules in the configuration file to be remembered (as a new “default”) and the enabledRules/disabledRules to be added to this “new default”. I think this behavior is more reasonable.
Is it OK to implement it? I can try to do it myself, but the logic of enabled and disabled rules is getting complicated, and I am not sure how it will affect other parts of the program. (Does the stand-alone LT use this code?)