The Internal Revenue Service unlawfully created a rule prohibiting workarounds to the federal cap on state and local tax deductions, a New Jersey deputy attorney general told a Second Circuit panel Thursday, asking the appellate judges to overturn a lower court ruling that upheld the rule.