This video provides an introduction on how to create and test a rule: