The validation issue is because you have an import statement at the top of the file you don’t need or if you do need it is improperly formatted. You should import only those classes you need and not use *.
I don’t think this will keep the rules file from being loaded.
Next, add some logging to the rule to see if the problem is that the rule isn’t firing or your pushsafer is not working.
Finally, even though it is not a long and complex rule, please use code fences.
code goes here
I have no idea what a host of omnilink flags means.