Rams advance to PIAA semifinal