More tests and documentation for ruleset validation