This worked quite well for me, thanks for it!
Still, there is one bug, easy to rollback, though.
The programme somehow changed this line:
("main_party","Main Party",icon_player|pf_limit_members, no_menu, pt_none,fac_player_faction,0,ai_bhvr_hold,0,(17,52.50),[(trp_player,1,0),(trp_heavy_infantry,20,0)]),
to this:
("main_party","Main Party",icon_player|pf_limit_members, no_menu, pt_none,fac_player_faction,0,ai_bhvr_hold,0,(17,52.50),[(trp_player,1,0),)trp_heavy_infantry,20,0