Fix bugs in rule saving. Do not require unique string translations in SQL schema.