Build cmd in the constructor
Merge pull request #2 from alistairstead/ruleset-replaced-in-constructor

Build cmd in the constructor