Loosely matching rhymes for network resilience