Salt preserves by virtue of being salt. It does not need to make rules or force the food it is to change. It simply exists and in doing so preserves the food.
If we are the salt of the earth (Matthew 5:13-16) then our job is not to make rules but to let our good works speak for themselves. In so doing, we preserve the world. No laws, rules, or regulations can do that for us. Only our lives.
Forcing our morality via the rule of law can only lead to legalism while a life well lived can do things no law ever can. A life well lived can change many lives.
Be the salt.