If you want to rebel against a country and win, fight a bloody war, enter into peace negotiations, start a faction of your rebel group that will continue to fight. Repeat the process until you get the desired result.
Peace talks have always been better than resolving a conflict with war. This much was admitted by the PLO when a high official once said that a few years of talks gained them lots of land compared to decades of war which failed to give them even a square inch. The problem with some people however is the desire keep on fighting despite the prospects of peace.
The Hamas was organized despite the PLO’s reign of the land provided to the Palestine and violence continues. In the Philippines, the MILF was born and continues to fight despite the gains of the MNLF. And now that that the MILF is also in negotiations with the government, a new group was again formed. Notorious MILF leader Umbra Kato formed his own and most probably the fighting will continue.
When will this end? Well, until they get the desired result.