Traffice shaping with Queue Tree (separate up and down traffice)

Hi,
I have created a transparent traffic shaper with mikrotik.
I have made Mangle Rules and Queue Tree rules.

This is working perfect but the only limitation is that I can not (or don’t know how to) make rules for up and download.

Now it is so if a queue is full for download than also the upload is blocked by this rule.

Is there a good solution for this?

This are the current rules:

Mangle:

jun/10/2016 09:26:02 by RouterOS 6.34.2

software id = XG2T-4AZ6

/ip firewall mangle
add action=mark-connection chain=prerouting comment=“AfasOnline traffice”
dst-address-list=AfasOnline new-connection-mark=afas_conn
add action=mark-packet chain=prerouting connection-mark=afas_conn
new-packet-mark=afas passthrough=no
add action=mark-connection chain=prerouting comment=“Citrix traffice inside”
dst-address-list=Citrix-Server new-connection-mark=citrix_conn
add action=mark-packet chain=prerouting connection-mark=citrix_conn
new-packet-mark=citrix passthrough=no
add action=mark-connection chain=prerouting comment=“Replication Filer”
dst-port=11104,11105 new-connection-mark=replication_conn protocol=tcp
add action=mark-packet chain=prerouting connection-mark=replication_conn
new-packet-mark=replication passthrough=no
add action=mark-connection chain=prerouting comment="Web traffice HTTP, HTTP
dst-address-list=!AfasOnline dst-port=80,443,8080 new-connection-mark=
web_conn protocol=tcp
add action=mark-packet chain=prerouting connection-mark=web_conn
new-packet-mark=web passthrough=no
add action=mark-connection chain=prerouting comment=“FTP traffice” dst-port=
20,21 new-connection-mark=ftp_conn protocol=tcp
add action=mark-packet chain=prerouting connection-mark=ftp_conn
new-packet-mark=ftp passthrough=no
add action=mark-connection chain=prerouting comment=“P2P Traffic”
new-connection-mark=p2p_conn p2p=all-p2p
add action=mark-packet chain=prerouting connection-mark=p2p_conn
new-packet-mark=p2p passthrough=no
add action=mark-connection chain=prerouting comment="SMB/CIFS traffic Server
dst-address=10.180.116.36 dst-port=137,138,139,445 new-connection-mark=
smb-cifs-servers_conn protocol=tcp src-address=10.180.90.45
add action=mark-packet chain=prerouting connection-mark=smb-cifs-servers_con
new-packet-mark=smb-cifs-servers passthrough=no
add action=mark-connection chain=prerouting comment=“Other traffic”
new-connection-mark=other_conn
add action=mark-packet chain=prerouting connection-mark=other_conn
new-packet-mark=other passthrough=no


Queue Tree:

jun/10/2016 09:27:53 by RouterOS 6.34.2

software id = XG2T-4AZ6

/queue tree
add comment=“Main queue” limit-at=40M max-limit=40M name=Main parent=global queue=
default
add comment=“P1 AfasOnline” limit-at=10M max-limit=40M name=“10 AfasOnline”
packet-mark=afas parent=Main priority=1
add comment=“P1 Citrix inside” limit-at=5M max-limit=40M name=“20 Citrix”
packet-mark=citrix parent=Main priority=1
add comment=“P4 Replication Filer” limit-at=9M max-limit=15M name=“30 Replication”
packet-mark=replication parent=Main priority=4
add comment=“P5 Web traffic HTTP en HTTPS” limit-at=5M max-limit=25M name=“50 Web”
packet-mark=web parent=Main priority=5
add comment=“P8 FTP Traffice” limit-at=5M max-limit=25M name=“60 FTP” packet-mark=
ftp parent=Main
add comment=“P8 P2P Traffic” limit-at=3M max-limit=10M name=“70 p2p” packet-mark=
p2p parent=Main
add comment=“P8 Other traffice” limit-at=30M max-limit=40M name=“100 Other”
packet-mark=other parent=Main
add comment=“P4 smb/cifs servers” limit-at=10M max-limit=40M name=
“40 smb/cifs-servers” packet-mark=smb-cifs-servers parent=Main priority=4