restraints of spanner-bolt system in a simulation

Hello,

I was wondering if someone can advise on what are the best restraints to model the wrench-bolt system please (Check picture). I have calculated the contact forces acting on the wrench between the jaws, but I am having trouble figuring out how to restrain the model to get the best results.

Thank you

SolidworksApi macros