private void AddRules()
 {
     RulesDataInsert _rulesInsert = new RulesDataInsert();
     try
     {
         _rulesInsert.RulesObj = this.RulesObj;
         _rulesInsert.AddRulesData();
     }
     catch (Exception ex)
     {
         throw new Exception("BLL::ProcessRulesData::AddRules::" + ex.Message);
     }
     finally
     {
         _rulesInsert = null;
     }
 }
 public void AssignRules()
 {
     RulesDataInsert _rulesInsert = new RulesDataInsert("AssignRules");
     try
     {
         _rulesInsert.RulesObj = this._rulesData;
         _rulesInsert.AssignRules();
     }
     catch (Exception ex)
     {
         throw new Exception("BLL::ProcessRulesData::AssignRules::" + ex.Message);
     }
     finally
     {
         _rulesInsert = null;
     }
 }