Updated to include new Number Generation functions

Updated tto provide similar number generation functions to
Samoa.
Merge branch 'rules'