A Framework for Regulatory Compliance