(1) When the office of the Court is open, any person, on payment of the proper fee, may inspect and obtain a copy of any document filed in a proceeding.
(2) Notwithstanding paragraph (1)—
(a) no person may inspect or obtain a copy of a document which the Court has ordered remain confidential;
(b) a person not a party may not, without leave of the Court, inspect or obtain a copy of a document which in the opinion of the Prothonotary ought to remain confidential to the parties.