That's backwards from a use case perspective. You use UDA on app deployments targeted to devices so that only the primary user of a device sees the deployment.
What you have above will probably work to prevent the app from installing, however, requirements for user targeted available apps are not evaluated until the user chooses to install them from software center. Thus, they will still show in software center regardless of the requirement but will fail installation with a requirements not met error.