internal static IEnumerable <DataClassificationPresentationObject> FilterHigherVersionRules(IEnumerable <DataClassificationPresentationObject> unfilteredRules) { if (unfilteredRules == null) { throw new ArgumentNullException("unfilteredRules"); } return(from rule in unfilteredRules where rule.MinEngineVersion <= ClassificationDefinitionUtils.GetCurrentAssemblyVersion() select rule); }