The rubber guides the cables and wiring harness of the Vespa V50 / PV 125 safely out of the frame without damage.
The rubber seal also prevents dirt from getting into the frame at this point.
For more information (GPSR), please visit this product's webpage.