Use Concentric mates for rods into holes and springs over rods. Select the "lock rotation" option to prevent turning.
To prevent a rod sliding out of a hole, use either a coincident mate with hole bottom or a distance mate.
You can also mate between planes in different parts (both coincident & distance).
Open the spring part file and examine its planes.
In the spring's file:
- If the spring was modeled with its central axis at the junction of two planes, then add an SW ref geometry axis using this two planes.
- Add a tangent plane attached to the end of the spring if it's not flatted (with this plane perpendicular to one of the planes above)
In the assembly:
- Turn on view temp axes
- Start a concident mate
- Expand the spring's tree and select the axis you just made and the temp axis for the mating hole
- If you need to anchor the spring's end, use the tangent plane/flat in a coincident or distance mate
- If you need to stop rotation, mate one of the spring's planes (one of the two used to make the axis) to relevant edge/face
I hope this helps.