Karthikeya thank you for your reply, this solution will help me a lot!
One of the transactions that I need to make these rules is "XD01 - Create Customer", which has several fields, but the rules will apply to only some of them, but I'll have to link all the textboxes with the script button.