Ce n'est pas une décision exclusivement militaire
In hindsight of the news from Brazilian newspaper Folha that the Brazilian air force prefers the Gripen, French newspaper Libération has published a statement by the Brazilian Minister of Foreign Affairs Celso Amorim. He says that the final decision is always political, implying that the French Rafale is still a very much possible choice for the Brazilian government even though it is not preferred by the air force or the Brazilian industry and is evidently much more expensive both to buy and to use.
(Source in French)
(Google translation)