(a) A party may file with the lower court a petition for a writ of habeas corpus directed to the chief judge of the lower court which shall be forwarded to the court of appeals within 24 hours after filing for the purpose of determining if the current or future custody of the petitioner is in violation of law. The petition shall state:
(b) The petition shall be presented to and reviewed by the appellate chief judge or a designate. If a petition does not comply substantially with the requirements of this rule, it shall be returned to the petitioner with a statement of the reasons for its return.
(c) If the petition and exhibits are in order, the appellate chief judge or a designate shall order a copy of the petition and order be served, by certified mail, on the appellee and the appellee's representative.
(d) The appellee's answer shall be filed within 15 days after the petition is filed and shall respond to each allegation in the petition.
(e) The appellate chief judge or a designate shall review the petition, answer, transcript, and record, and determine whether adequate relief can be ordered or whether an evidentiary hearing is required. If an evidentiary hearing is required, it shall be held within 30 days of filing of the writ and a decision issued unless the appellate chief judge or a designate determines otherwise. If an evidentiary hearing is not required, the judge shall dispose of the petition as justice requires.
(f) If the petition is not acted upon within thirty days after it is filed, it shall be considered denied.