Is that something that you could add in OMV (5 or 6) ?
It's not trivial; otherwise the UI would already support custom rules. IMO the UI is good for what it is intended for; a simple UI for simple rules. Special purposes can be implemented manually by the user via custom workflows that are supported by Debian.
But it's free to the community to contribute this feature to the project.