The selected parts become one block you can place like a gate. Its switches turn into inputs and its lamps into outputs.