Resolve groups after overrides but before keys
This allows proper handling of groups in the different modes of the resolver.