You need a Queue Tree for that. Create a Main Tree, Prio 1. Then Create Child Queues for each Traffic Class you want.
For the Main Queue select an PCQ type, select small queues for the childs. Traffic Classification is done by Packet-Marks.
PreRouting-Chain is used for the WAN-Upload, PostRouting-Chain is used for the WAN-Download.