add some doc and some more library methods
Reworked custom_rules.xml a bit