Rules apply across-the-board (ATB) if they may affect all conjuncts in a coordinate structure at the same time.
Wh-movement applies across-the-board in:
I wonder which booksi [Mary hates ei]C1 and [Sam likes ei]C2
Williams, E. 1978. Discourse and Logical Form. Linguistic Inquiry 8-1, 101-139.