There’s already an existing suggestion discussing an option to import filter rules from a local file (although that suggestion tries to solve this with a CSV file to reflect property / filter mode / filter criteria, it’s aiming for a similar/same mechanism). Please comment/vote in that thread in order to help us avoid distracting or cannibalizing votes.
Unless I’m missing some unique aspect of your suggestion I’ll close this thread as a duplicate.