From what I learnt, the filtering features of tc
aren't as flexible as the ones you can get with iptables
(where you can specify filtering by SYN/ACK flag presence). You can use iptables to "mark" each packet using such filtering, then use let tc recognize those marks to classify & prioritize the packets.
See this tutorial, especially paragraph 15.10.2, for an example setup using this technique.