OpenHAB 5.1.0 M4 Settings Persistence broken?

I also had problems with persistence while upgrading to 5.1.0.

Seems like commenting out the line which specifies default in *.persist files solves the issue:

Strategies {

    // default = everyUpdate

}

Items { …

After another restart all the DSL rules started working