dirty_hash_to_rule was modifying it's argument

... causing other bugs to creep in.

One bug caused by this, was that when editing a form with recurring_select, the currently rule would never be selected in the list. This was only noticeable when "allow_blank" was not set, because then the current rule was not the first item in the list, and so it was quite noticeable when it was not actually selected.