That is significant damage. With your limited experience with fiberglass repairs, you should have it professionally repaired.
The rub rail should be removed. Note that if the seal between the deck mold and the hull mold that is behind the rub rail, is compromised you take the chance of water...