Recursion in place. Need to write apply rules
coding rules effects
Applyed successfully up to rule 3