The government and communist rebels have been engaged in armed conflict for more than 40 years .