public Form1()
        {
            InitializeComponent();
            _ruleMaster = new Rules.Framework.Rules.Rule();

            // setup conditions
            _ruleMaster.Conditions.Add(new SubjectCondition());
            _ruleMaster.Conditions.Add(new AttachmentCondition());
            _ruleMaster.Conditions.Add(new BodyCondition());
            _ruleMaster.Conditions.Add(new MessageTypeCondition());
            _ruleMaster.Conditions.Add(new MessageDirectionCondition());
            _ruleMaster.Conditions.Add(new RecipientCondition());

            _ruleMaster.Conditions.Add(new SecureMessageCondition());
            _ruleMaster.Conditions.Add(new SenderCondition());


            _ruleMaster.Actions.Add(new AutoReplyAction());


            _ruleMaster.Exceptions.Add(new SubjectCondition($"{geea.Except} {geea.SubjectConditionTextFormat}"));
            _ruleMaster.Exceptions.Add(new AttachmentCondition($"{geea.Except} {geea.AttachmentConditionTextFormat}"));
            _ruleMaster.Exceptions.Add(new BodyCondition($"{geea.Except} {geea.BodyConditionTextFormat}"));
            _ruleMaster.Exceptions.Add(new MessageTypeCondition($"{geea.Except} {geea.MessageTypeConditionTextFormat}"));
            _ruleMaster.Exceptions.Add(new MessageDirectionCondition($"{geea.Except} {geea.MessageDirectionConditionTextFormat}"));
            _ruleMaster.Exceptions.Add(new RecipientCondition($"{geea.Except} {geea.RecipientConditionTextFormat}"));

            _ruleMaster.Exceptions.Add(new SecureMessageCondition($"{geea.Except} {geea.SecureMessageConditionTextFormat}"));
            _ruleMaster.Exceptions.Add(new SenderCondition($"{geea.Except} {geea.SenderConditionTextFormat}"));

            _ruleViewDetails = new RuleViewDetails(this, panel4);
        }
        private void newToolStripButton_Click(object sender, EventArgs e)
        {
            RulesWizard wizard = new RulesWizard();

            if (wizard.SetupRule(this, _ruleMaster, new Rule()) == DialogResult.OK)
            {
                _theRule = wizard.Rule;
                if (_theRule != null)
                {
                    var viewItem = new ListViewItem(_theRule.Name, 0)
                    {
                        Tag = _theRule
                    };
                    listViewRules.Items.Add(viewItem);
                }
            }
        }