Queue Tree Question

I have a commit of 24mbps with an ISP which means I can only use a max of 24mbps upload or download together.

How can I setup a queue that will trap download and upload in one tree so I can limit the total upload and download to 24?

Appreciate any help that is given,

Thanks.