Titles should remain as viceroyalties during revolts in the latest open beta patch (2.2.0.4). So it should work with any rebels still being a viceroy, during and after the revolt. Let me know if there are any additional issues with viceroys and revolts. 