sync_manager: don't crash on invalid sync rules