Dangerous Substances in Discharges: Setting Consent Conditions and Assessing Compliance