Code documentation added. Written by Michael.

Documentation for the rule_sets module has been written (Support #205)