Rules 66.06 and 66.07, with the necessary changes, apply where by or under an Act the Court has authority to compel by subpoena the attendance of a person for the purpose of giving evidence or producing a document or thing for evidence in a court or before a person having by law or by consent of parties authority to hear, receive and examine evidence.