Rules
left
state
parent
state
right
state
next
state