Rigging Codes