CONTRIB-4187 - added missing mandatory function define_restore_log_rules

The error is launched when trying to import a course backup containing mod_journal activities.
 
Fixes CONTRIB-4187 adding missing rules.