A panel of Rhode Island lawmakers and experts charged with making recommendations on whether the state should legalize the drug got some context Wednesday from a Massachusetts senator, who believes legalization has some benefits but worries about creating a commercial industry based on addiction.