Rams advance to PIAA quarterfinals