Activate or deactivate rules programmatically This is how you can activate or deactivate rules by its machine readable name programmatically. Tweet