Judge rules in favor of RDU quarry