Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
Tell me the average rank for dharma productions before 2013

### Inputs:
table_name: table, columns: ['Rank', 'Movie', 'Year', 'Studio(s)', 'Third Week Nett. Gross']

### Response:
SELECT AVG Rank FROM table WHERE Studio(s) = dharma productions AND Year < 2013