Assuming there is a law. I think we can already detect methane well enough to know that cows make a lot of it.
You don't want to make the law something they must "escape" from, but rather something they can profit from by not polluting. Like tax credits.