SMS dit: Smart rules for fair trade