A trick for adding parenthesis to any rest

I have used a previous trick for adding parenthesis to any rest: you have to create a new notehead style, replacing default noteheads by rest symbols. Then you apply the parenthesis as explained here:


and hide stems and ledgerlines (if necessary).
Here you have an example of how it works:

I hope it will be useful!