Theory of Regulatory Compliance for Requirements Engineering