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