Fair enough
It’s not every day that you learn about a dog utilizing loopholes for its own benefit. In fact, this is a behavior you’d normally find in humans who aren’t allowed to drink in certain places or times. But this dog certainly shows that no set of household rules will ever stop it from snuggling against its owner.
Per the house rules, the dog wasn’t allowed on the couch for unknown reasons. Instead, the OP told the dog to chill in its bed. But nobody said that the dog couldn’t drag its bed onto the couch to relax. Next time, set clear boundaries. If there’s even a bit of wiggle room, your dog will somehow make it work for them.