How to re connect a character mesh to rig?

HI, i have a character mesh that was disconnect from its original rig, the mesh still have all the original vertex grups. what is the quickest way to re connect the mesh to the original rigfy rig?
Thanks in advance for any help.

OK solved. Armature deform did the trick. thanks.