… contains rules of practice and appeals for special civil proceedings in California … applicable to and constitute the rules of practice in the … a writ of mandate, the court granting the writ, or the … appellate court, may direct that the appeal …