Not too hard apparently. I recently asked this question myself on the Mods subforum, and a really helpful guy responded. Here is the thread:
http://forums.civfanatics.com/showthread.php?t=508236
Thanks!

Now if only there was a way to tell city states to either form on a river or well away from one and not be one hex away from them.