Generalize rule in f95535c