Loosely matching rhymes for rational function