From Francis Grose, 1785, A Classical Dictionary of the Vulgar Tongue- "I am up to your rig, I am a match for your tricks."
Also old slang for clothes (also from Grose), "The cull has rum rigging, let's ding him and mill him, and pike." (knock him down, rob him and scour off).