Uhh, not exactly.
The apostles stated they would obey God as ruler rather than men, regardless of the consequences.
Nothing there about rebelling against the rulers. Just refusing to obey them.
In America the "Obey the Rulers" command doesn't really fit all that well. All Americans share in the diffused rulership of a republic. We're all rulers and we're all the ruled.
At least in theory.
“Nothing there about rebelling against the rulers. Just refusing to obey them.”
Refusing to obey rulers is a rebellion against their authority.