DTD for rules?

Hi all,

I know the structure of the rules in XML is not particularly complicated, but is there a DTD? Not being lazy, just don’t want to miss anything.

Best regards

Ray

The rule matches:

The rules:
languagetool/rules.xsd at master · languagetool-org/languagetool · GitHub and
languagetool/pattern.xsd at master · languagetool-org/languagetool · GitHub

Thanks Daniel, I’ll have a look at them in the next few days!