More robust api url
Add rules
Seet up rules syncing and hook into SurveyFragment.  Still need to destroy an unsuccessful survey upon rules failure
Fix merge conflict