fix bug 4394, 'folder processing runs on startup even if all rules are disabled'