The document proposes a Group Selection pattern to optimize the formation and evolution of virtual organizations (VOs) in grid computing environments. The pattern biases agent interactions and migration based on group identifiers, allowing groups to evolve over time into optimized configurations through a process analogous to biological group selection. Experiments applying this pattern to a VO policy alignment scenario show it can evolve a large number of small, dynamic VOs into outcomes with high coordination and utility.