If a filing in a court is labeled as a petition for review but the proper mode of relief is an original jurisdiction action in equity, replevin, mandamus or quo warranto, or a petition for a declaratory judgment or for a writ of certiorari or prohibition, this alone shall not be a ground for dismissal. The filing shall be regarded and acted upon as a complaint or other proper process and as if filed at the time the improvident filing was made. The court may require that the filing be clarified by amendment.
210 Pa. Code r. 1504