During research I found this video which is very similar to your implemented approach with the lightning-spinner which is shown when you (de)activate rules.
But the difference with the above solution in the video is: You don't have to hardcode the subtitle of the spinner in your css.