qualTerms.add(ATermCommands.makeString(qual));
IStrategoTerm quals = ATermCommands.makeList("Qualifiers", qualTerms);
IStrategoTerm from = ATermCommands.makeString(r.from);
IStrategoTerm to = ATermCommands.makeString(r.to);
if (!map.containsKey(from))
map.put(from, to);
if (!map.containsKey(ATermCommands.makeTuple(quals, from)))
map.put(ATermCommands.makeTuple(quals, from), to);
}