A trade group boss has branded a ruling on brewing ingredients by US tax authorities as a "huge victory" for craft beer producers.