[prefs] Add `delete` method
[updating] Fix version comparison
[ruleset/persistent] Proper cleanup when updating from 0.12