Loosely matching rhymes for automatic data rate detection