I need to show that
$$ \forall{x}\exists{y}{(P(x) \to Q(y))} \vdash \exists{y}\forall{x}{(P(x) \to Q(y))} $$
using the natural deduction rules outlined in Logic in Computer Science: Modelling and Reasoning about Systems by Michael Huth and Mark Ryan.
There is a proof outlined in this answer. However, it seems to violate the scope requirements for $\forall{}$ introduction, as outlined in the book.