Gene transfer for herbicide resistance