parameterized upload rule