The correct answer is
A. to protect the interests of people working in an industry and maintain standards within the industry
They were made to protect people from artisans that would trick them as well as to protect artisans from other artisans. It prevented unfair competition or fraud among themselves, and then protected consumers form bad merchants or fraudulent behavior.