Engine first test
Refactor rule to use action, condition