According to this report, the Brazilian President’s first choice, the Dassault Rafale, is actually ranked 3rd:
Brazil’s F-X2 fighter programme could be the subject of further delays, after a summary of the air force’s 30,000-page evaluation report was leaked to one of the country’s leading newspapers.
The Folha de São Paulo newspaper reported that the air force’s F-X2 procurement programme committee has ranked Saab’s Gripen NG as its first-choice candidate for the deal, initially for 36 aircraft, due to its lowest acquisition and operating costs. It is followed closely by Boeing’s F/A-18E/F Super Hornet Block II.
I think that part of this is higher level diplomacy, with President Luiz Inácio Lula da Silva believing that closer relations with France are more important than those with Sweden (that’s a no-brainer), and his belief that allying with Dassault will provide more opportunities to the Brazilian aerospace industry.
The Rafale is certainly not the low cost solution, it’s low production numbers mean that acquiring the aircraft will necessarily be expensive, and the Gripen is ½ the size of its competitors, with ½ the number of engines, so it will be much cheaper to operate.
I would also note that, given Swedish requirements for austere field operations, it would likely be better suited to operating from some hole-in-the-wall air strip in the Amazon jungle.