It would be great (and also VERY dangerous) to be able to customise pruning rules.
Suggestions:
- Load the rules from an XML configuration file
- Generate an XSD that describes the XML syntax for pruning rules
- The pruning rules in the configuration file are applied one after the other