func (r *rules) finalize() { C.yr_rules_destroy(r.cptr) runtime.SetFinalizer(r, nil) }
func (r *Rules) Destroy() { C.yr_rules_destroy(r.handle) }