If the gun has a mid-bead, just prop the front and rear of the rib on a pair of wood blocks, measure from the comb and heel to the table surface, and subtract the thickness of the blocks.