Fixed an issue with IEnumerable rules.