As always, talking with a veterinarian or behaviorist about the best way to curb your cat's rebellious behaviors is a good idea. Until then, remember Proietto's wise words: "Performing any physical negative reinforcement will cause more harm than good."
You're the person. When your cat acts out, be the bigger person.
It's their home - we just live there: