allow module to export an array of rules
Merge pull request #191 from davidchambers/rules-array

allow module to export an array of rules