The rule (highway=secondary | highway=tertiary) & ref=* {name ‘${ref|highway-symbol:oval}’; addlabel ‘${name}’} is only adding a shield. If you remove this line it does not remove the road from your map.