[core][build] new disambiguation function: rewrite() [fr] rewrite, ajustements et faux positif