I have requested this before, but can't find the thread.
Would be great if auto-playlists and filters support writing functions just as it supports writing regex. The difference is regex can't support fields. Say you want to create an auto-playlist that shows files having the same value for specific two tags. Currently you have to create a virtual tag first and then use that tag in an auto-playlist. Why not allow to define it directly in auto-playlists and filters?
This would also have the benefit to free up virtual tags from the limited 16 slots as the user could create an unlimited number of auto-playlists and filters.