The best mining companies don't just follow regulations—they help shape them.