fix upload rule type