Put Rule

Creates or updates the specified rule. Rules are enabled by default or based on the provided State parameter.