If there is a tackle, ruck, maul or oppo touches the ball after you have carried or passed the ball into your own 22 then the Gain In Ground from a kick directly into touch is back on.
What if the tackle starts outside the 22 and finishes inside? Do we need another T/R/M/OTB or are they free to...