The rebels have been fighting to overthrow the Ugandan government since 1987 .