Using flexible date patterns

So I have a bunch of files I'm scanning. Most are for the current year, but some are from the past. What I'd like to do is sort files into folders by year. For example, I have a folder called "Tax", and the following within:
* 2016
* 2017
* 2018
* 2019
And in 2020 there will be a 2020 folder as well. Is there a way to make rules such that if all of the conditions are met:
* contains tax
* contains/matches "CurrentYear"
Then the item will be moved into /tax/CurrentYear/
I looked at the manual, and I couldn't find anything simple for setting the current year. Maybe it can be done with AppleScript. Would be really useful to be able to do this, as it would prevent me having to chance the rules in future years too.
The way I'm doing it is:
1. Scanning the files en masse
2. Looking at them and Giving them a name like "Government return Tax CurrentYear"
The latter two words handle the sorting. But right now I just manually entered 2019, so this only works for documents from this year. I'd like a rule just detects any year, and puts the item in the appropriate subfolder.
* 2016
* 2017
* 2018
* 2019
And in 2020 there will be a 2020 folder as well. Is there a way to make rules such that if all of the conditions are met:
* contains tax
* contains/matches "CurrentYear"
Then the item will be moved into /tax/CurrentYear/
I looked at the manual, and I couldn't find anything simple for setting the current year. Maybe it can be done with AppleScript. Would be really useful to be able to do this, as it would prevent me having to chance the rules in future years too.
The way I'm doing it is:
1. Scanning the files en masse
2. Looking at them and Giving them a name like "Government return Tax CurrentYear"
The latter two words handle the sorting. But right now I just manually entered 2019, so this only works for documents from this year. I'd like a rule just detects any year, and puts the item in the appropriate subfolder.