check that random is the first rule in a rule-group. fixes #165
Merge pull request #168 from rmmh/random_first

check that random is the first rule in a rule-group. fixes #165