func (h *Handle) RuleAdd(rule *Rule) error {
	req := h.newNetlinkRequest(syscall.RTM_NEWRULE, syscall.NLM_F_CREATE|syscall.NLM_F_EXCL|syscall.NLM_F_ACK)
	return ruleHandle(rule, req)
}
RuleAdd adds a rule to the system.
Equivalent to: ip rule add
package netlink
import (
	"fmt"
	"net"
	"syscall"
	"github.com/vishvananda/netlink/nl"
)
func RuleAdd(rule *Rule) error {
	return pkgHandle.RuleAdd(rule)
}