add documentation and sampled to create custom rule sets