Shaping and masquerading

Hello,
Could anyone tell me how to shape the trafic upon MAC addresses but not IP-s?
with version 2.7

Thanks in advance

Use 2.8 version or see:
http://mikrotik.com/Documentation/manual_2.7/IP/Firewall.html#ht33373513