Made clearer in the description.
Random tests added
Also that rules can be longer than states themselves.
The description should mention whether different-length rules will be used.
Needs random tests, my solution should not pass :)
I find that this kata does no explain clearly enough what it wants, and that the fixed test cases do not cover all the cases the code needs to cover.