The Lagrangian origin of MHV rules.

We construct a canonical transformation that takes the usual Yang-Mills action into one whose Feynman diagram expansion generates the MHV rules. The off-shell continuation appears as a natural consequence of using light-front quantisation surfaces. The construction extends to include massless fermions.