Separate Automaton class for possible further reuse
Teach a rule to check and apply itself