Issue with ForwardDiff custom AD rule

Is there a hacky way to do it? Like defining a method for ::Dual args?