public AppraisalRule GetAppraisalRule(Guid id) { return(Rules.SelectMany(r => r.Value).FirstOrDefault(a => a.Id == id)); }