You can use your lar15 mags in your rifle legally. It’s not a loophole. The law pertains to the magazine itself, not the firearm it is eventually used in. So if it’s legally a pistol mag, it can hold 10 rounds, regardless of what firearm it fits and functions in.