Need more documentation on writing custom rules

I went through the “CUSTOM_RULES_101.md” doc and implemented the example shown there. I also examined all the other sample tests in the example project. I’m left with a lot of questions. These examples don’t really amount to much. I need much more information about how I can use the model to examine various aspects of the scanned code. I could simply list all the things that I’m trying to do (which I briefly described in another recent note), and then perhaps someone could show me how that’s done, but I would think there should be some more documentation about the framework somewhere.