A real estate investment firm bought a historic building, but not the rights to the brand that once operated there, a federal judge ruled earlier this month.The trademark-infringement lawsuit filed by Long Grove Investments LLC was dismissed by U.S. District Judge John Robert Blakey.The investment firm acquired the property at 230 Robert Parker Coffin Road in the Historic Downtown Long Grove shopping district in September 2014.Long Grove Confectionary Co. leased that space to operate its Apple Haus bakery and store from …