add rules.  change email notification logic to prevent spamming