Zaslat SMS: Classes of submodular constraints expressible by graph cuts