Fixed ordering of execution of rules
p_children not needed