Better initialization of internal DimpBase variables
[mms] Fix regression in copying a rule when storing in SQL backend (Bug #13213).