Added executeAction function in rules and marked parsing and other execution methods as private