You will need the FSLogix Apps Rule Editor to read it.
The script i used is located here: https://github.com/aaronparker/fslogix/tree/main/Rules
MS365_Visio_Hiding.fxr
Ive been using App Masking Rules in FSLogix for months to hide Visio and its worked out great. I would be happy to share the rule i created for it if you like.
There is a powershell module out there that helps you create the rules for visio and project. We dont use project so i only created the visio one.