Vlan by MAC Address

Found the rule based Mac address assigning however I have total of 600 devices to assign based on Mac address,

http://wiki.mikrotik.com/wiki/Manual:Switch_Chip_Features#Example_-_802.1Q_Trunking_with_Atheros_switch_chip_in_RouterOS_v6

/interface ethernet switch rule add switch=$switchName src-mac-address=$mac new-vlan-id=$vlanID

How best to manage the 600+ if mac address vlan is way we go?

Thanks