user: ### NOW ANSWER:
Question: What average rank of the premier has NSW as the state, Liberalism as the party, and 22 March 1877 was the assumed office?
Columns: ['Rank:', 'State:', 'Premier:', 'Party:', 'Assumed office:', 'Left office:', 'TOTAL Time in office:']
Types: ['real', 'text', 'text', 'text', 'text', 'text', 'text']
Sample row: [1.0, 'SA', 'Sir Thomas Playford (1896–1981) GCMG', 'Liberal & Country League', '5 November 1938', '10 March 1965', '26years, 125days']
SQL:

assistant: SELECT AVG("Rank:") FROM "Table" WHERE "State:" = 'NSW' AND "Party:" = 'Liberalism' AND "Assumed office:" = '22 March 1877';