Multiple Error checks

I have a question, as I mentioned before I am new at trying out language tools.
So, till now I am successful in adding a demo rule and understanding how to make my own rule for error check.
Now the step is to link the java rule with the development I did in python with the help of some other NLP library but I want to send the output from python to Java Languagetool and display it with it.

But as per my understanding for each error type, I have to develop a separate rule and there is no way wherefrom one rule I can check multiple errors? Is this correct?
Because I want to send one command to a python file from my Java rule and it will check multiple errors for me and return the result for each error. How should I go about it ?