Restore code that loads user-defined custom rule files.