Constructing Safe Guardrails