You can find all rules in the filter.allowedContent
array:
editorInstance.filter.allowedContent
This array contains a unified version of rules so you can assume that they are all in the same format. However, this is not an optimised format, so you may need to process it in order to extract the information which you need.