How to put distance restraints into topology file

i will try this and let you know, thanks for your prompt response.