In our organization we are trying to create custom rules for PLSQL language. We were able to create custom rules for XML language using XPATH expressions.
Would like to check whether any documentation is there for setting up custom rules for PLSQL language.
You can have a look at the documentation for custom rules: it gives some information about how you can write XPath rules for PL/SQL and other languages.