Need to write a rule for specific action action button

Has anyone in the group already tried or using custom UI rule which trigger on a specific action button click.

 

Looking for any guidance.