Papua New Guinea will join Australia's rugby league in exchange for allegiance on security matters.