Officials said at least 22 guerrillas and two soldiers were killed in the fighting .