Loosely matching rhymes for rewriting rule