public IQueryable<Rule> GetAll(long structureId) { return _dbManager.DbContext.Rules.Where(r => r.StructureId == structureId); }