I also experienced problems when saving a .rui yesterday.
For the moment I can only advise the following:
Don’t copy stuff from a .rui to another .rui or to default.
Don’t modify (in any way) any of the default library native buttons.
I guess it’s not safe to save a custom .rui currently either.