Build the rule step by step — pick a module, define when it runs, conditions to match, and what actions to take.