Hi
We worked on a similar module (which I have not yet had time to publish).
We have also added the article accounting category as possible selector for the rule (see a discussion thread in French unfortunately : https://discuss.tryton.org/t/french-vat-substitution/1194)
Do you want me to publish it to make it a work base?
Regard