Invalid synonym rule when using two files

Found a simple soltion:

Instead of using two files, I just concatenated the content of en_synonyms and fr_synonyms in one file all_synonyms:

cereal, semolina, wheat
ble, cereale, wheat

Then used it for the mapping.