37 Pa. Code § 171.22
Every legal paper shall contain a caption as set forth in § 171.151 (relating to form for caption) indicating the county in which the alleged cause of action arose. The caption of a notice complaint or a complaint shall set forth the names of all the parties; but in other legal papers, it is sufficient to state the name of the first party on each side in the complaint with an appropriate indication of other parties.