The ghost runner rule is by far the most ridiculous. A pitcher can give up no hits, and get an ER and the L in extra innings. Make it make sense. Baseball is also telling on itself here because that rule does not apply in the playoffs.
The ghost runner does not count as an earned run.