We could use the path length widget to filter the paths according to their length:  Simply graying-out the rectangle when it's deselected should suffice.