MDL-44370 calendar: Add support for restoring calendar log rules