Chris,
It's not clear whether your issue is how to create a z-matrix description or how to map a z-matrix description onto your cif format solution.
Have you looked at:
https://github.com/mspillman/zmatrix-to-inp?
My recollection is that it uses dash to create the rigid bodies from a dash-output cif, but you could do the same with your cif.
There's a z-matrix thread on using topas' rigid body editor to create the z-matrix at:
http://topas.dur.ac.uk/unb/forum.php?req=thread&id=362
The book has some hints on how to map the z-matrix rigid body onto your cif coordinates, or there's an outline on the wiki at:
http://topas.dur.ac.uk/topaswiki/doku.php?id=matching_a_rigid_body_to_a_known_fragment
Hope that's some help.
John