Secretary of state plans to appeal Green Party ballot ruling