public async Task <OperationResult> DeleteRule(int id)
 {
     return(await _rulesService.DeleteRule(id));
 }