rules for links