[Initial review] Update rule label when selector is edited

@dangoor - note that this is branched off the `css-quick-edit-new-selector` branch from #5532 (I didn't want to disturb your review there). The commits in this one (607b35d, df1d141, 73e7414) are semantic so can be reviewed individually.