Defining a pattern from one file to apply to another?

I have a situation where updated versions of files are frequently added to a folder (by another Hazel rule) so that I accumulate instances of *arbitraryfilename*, *arbitraryfilename-1*, *arbitraryfilename-2* etc. and I was looking to create a rule to delete the older versions.
Although it's easy enough to define a matching rule based on xxx-1 etc as far as I can see you can't then ask it to delete the other file ("xxx"), i.e. apply a rule to a file other than the one that matched the pattern?
I may be missing a simpler way to accomplish this?
Thanks
Rob
Although it's easy enough to define a matching rule based on xxx-1 etc as far as I can see you can't then ask it to delete the other file ("xxx"), i.e. apply a rule to a file other than the one that matched the pattern?
I may be missing a simpler way to accomplish this?
Thanks
Rob