You can use command line LanguageTool version for that:
java -jar languagetool-commandline.jar --language ru --apply TEXT_RU.txt > TEXT_CORRECTED.txt
This command applies all default rules to text.
But this method has a drawback - only the first suggestion that is generated by the rules applies.
I recommend an interactive (not automatic) check.