BF: reverted to simplier random rulenum. If your machine is handling 1000s of block the addition complexity isnt what you want