As the generals have grown more powerful , wily and ruthless , the rebels actually have lost territory and now pass much of their time in the shadowy areas along the border between Burma and Thailand .