code: def normalize(self):
          
          for i, rnode in enumerate(self._nodes):
              rule = Rule(self, i - 1, descendant=False)
              rule.normalize()
docs: Normalize this node and all rules contained within. The SLD model is
          modified in place.