Consent of the parties is the only criteria for settlement before Lok Adalat and such settlement should not be illegal and opposed to public policy.