Opposition parties agreed on Friday to nominate the head of an alliance that led months of protests against President Ali Abdullah Saleh to form a new government, an opposition leader said as opponents and supporters of Saleh held rival rallies in the Yemeni capital after pre-dawn fighting.