Documented getStateName and getStateNumber.
Added rule list get functions.