Personally I did the following.
- Take a backup of my C4 to my PC.
- Get the C7 all powered up and ready to go.
- Load the C4 backup on to my C7. (Do a soft reset and load your C4 external backup).
- Go to all my zigbee devices and re-pair then. They will be found as an existing device and will work to all your exiting rules.
Now for the tricky bit. - Follow Bruces guide (need to find the thread) on how to get your existing Z-Wave devices paired to your C7 hub. Using this method you do not have to re-write any rules, they will be picked up by the existing rules.
This is very time consuming but does work.
All the way through take your time and take regular backups to your PC so that if at any stage things become non-responsive you can do a soft reset and pick up from where you left off.
Be extra careful and do one z-wave device at a time as you can get ghost devices. Check the z-wave device page reguarly.
Here's the thread I was talking about above.