Man pleads guilty in anhydrous ammonia case