Hi Marcus,
Your configuration is correct as Naresh said.
But you should make sure that match condition only contains backup traffic or management traffic(stp, eaps, ospf...) could be also dropped in congestion state.
I don't know if you can do but I would rather choose rate-limiting on egress port so the switch uses egress buffer.
With egress buffer, management traffic in QP8 could be delivered without being dropped in congestion state.