Hi,
you are not doing rewriting, so that can't work.
enable dot1p replacement port x (x is the ingress port)
on egress the dot1p will be set according to the qosprofile associated on port x (as you are doing source port traffic grouping as I understand your example). Of course, the frame must be tagged on exit.