It has been awhile since I have actually had a rebellion but from how it worked in the past, every ruler who rebelled (i.e. had joined that faction) is considered a traitor and you can revoke/retract one thing from them.
Note however that if the rebellion lasts awhile, some of the original rebels will die. When their heirs inherit, they will still be part of the rebellion. If you win the war, they get imprisoned but they are NOT considered traitors (and you don't get the free revoke) since they were not the original ones who rebelled.