Okay I am confused by your network.
Is the switch acting as a router or a switch?
A network diagram would be helpful.
What is the purpose of using firewall rules on a switch?? assuming its not acting as a router?
Also for vlan filtering you should follow this guide…
http://forum.mikrotik.com/t/using-routeros-to-vlan-your-network/126489/1