Add MailScanner Rule editor functionality

Adds MailScanner Rule Editor functionality