// RemoveRule removes a rule from mapping
RemoveRule removes a rule from mapping
// RemoveRule removes a rule from mapping
func (m *Mapping) RemoveRule(rule *Rule) error {
	m.resetCache()
	err := m.Remove(rule.PatternSchema, rule.PatternTable)
	if err != nil {
		return errors.Annotatef(err, "remove rule %+v", rule)
	}
	return nil
}
func ( m * Mapping ) RemoveRule ( rule * Rule ) error { m . resetCache ( ) err := m . Remove ( rule . PatternSchema , rule . PatternTable ) if err != nil { return errors . Annotatef ( err , " " , rule ) } return nil }
RemoveRule removes a rule from mapping
RemoveRule removes a rule from mapping