tidied <rgb> rule; make it mopable