Try Scratch Remover, and a wax product like Turtle Wax (has some polishing agents, not just a gloss enhancer).
Firmly hand buff the area (better control).
Rubbing Compound is too harsh I think. There is a polishing compound.
You can use the polishing compound, then wax it afterwards, if the first method doesn't work.
Do it in steps
Can repeat steps.
If you can get it out with this method, it's better than repainting it; original paint is always best.