Fix upload rule.