Fix migration on active rule changes by renaming user_name to username