Updated OldRulesDbOpenHelper so that users of old versions of the app will have their preferences ported over. Also prevented a contact from being put onto an allow or block list twice for the same alert