A judge found that Hunter Biden violated several ethical rules for lawyers.