Write udev rules correctly when renaming multiple devices

bnc#894089h
even with gsub it works in place as you assign to array, which is not copy.