Triggered when an earning rule is created.
handler(event: LoyaltyEarningRuleCreatedEnvelope): void | Promise<void>