i didnt quite get that you actually want to rate limit towards you router or from router towards the switch - VLANs.
anyway, here is an example of a rate limit policy-map:
class class-default .....[includes all traffic, you could use class-map's for more detailed classifications]
police 3000000 exceed-action drop
service-policy in/out RATE ......[inbound or outbound, where u expect the rate limit to be enforced]
** if you are using a cisco switch, you also have the option of enforcing QoS on the switch, depends on the platform though.
Hope it Helps,
Hope it Helps!