There is no such thing as lawful rebellion. On the other hand Civil Disobedience is action without violence.
It happens all the time with government where non-compliance exceeds the benefit of violence against civilians. In other words the activity is actually better in action than the crime being prosecuted.
A great example is in South Africa where non-whites were hired against the rules of apartheid because the economy benefited from their skilled labor and there were not enough whites to fill the jobs.