Set my phone contacts to sync to Google not Google to phone I want to set my phone to pull contacts from my Google Contacts so that it uses google as a master.

I organised my contacts on Google Contacts page and when I synced my phone it messed everything up again because instead of pulling down from Google it uploaded everything from the phone. :(

I am using Samsung Galaxy S2 with CM9
When you're done organizing your contacts on the Google Contacts page, and before syncing with your phone, go to Applications->Manage Applications and clear data+cache of the contacts app (plus some other service I cannot recall currently, something like a contacts provider if there is). Then open your contacts app to verify no contact is left.

That done, sync again -- as there are no contacts on your device, it cannot upload anything (and thus not mess things up again), but should simply download the data from the Google server.