def METHOD_NAME(self):
    self.G_ = []
    for i in range(len(self.G)):
        self.G_.append([])
        for j in range(len(self.G[i])):                                       
            self.G_[i].append([k for k in self.G[i][j] if not isinstance(k, AttributeRule)])