MDL-36090 core_grade: added a restore log rule for grade overrides