When merging, move <command> and <requires> elements to parent <group>

This makes it possible to share them.