order http://www.aopc.org/OpPosting/Supreme/out/483civ.5.pdf
rule http://www.aopc.org/OpPosting/Supreme/out/483civ.5attch.pdf
There are a number of new, related state court rules about pre-complaint discovery, but the primary one is Rule 4003.8:
"A plaintiff may obtain pre-complaint discovery where the information sought is material and necessary to the filing of the complaint and the discovery will not cause unreasonable annoyance, embarrassment, oppression, burden or expense to any person or party."