I found you analysis interesting, but when you try to tie it all together I'm confused. Palestinians aren't being told not to defend themselves. They're being told that if they pick up a rock (which the Israelis view as offensive) the police will move in.
Is there such a thing as "right to self-defense"? If I am attacking someone I believe is trying to take something, or do something, I don't want done, why wouldn't I expect them to defend themselves?
Picking up a rock is a form of attack. So don't you really mean "right to attack?" Though that too, doesn't seem to make sense to me. In short, where did the attack or defense take place? Was the attack responding to the rock, or was the responding to the rock a defense?
As for Ukraine. From Putin's perspective Ukraine seeking membership in NATAO was picking up a rock. Ukraine argued just for defense. Again, each side will interpret different what is the attack and what the defense.
When you say Palestinian right to defense, do you mean Hamas or PLA or just the right of some Palestinian kids? Does everyone have a right to pick up rock?
I say yes. But then they mustn't be surprised when someone pulls up with much bigger rocks!