Added Polylines and rules for rapids