setEnabled

Enable/disable without losing the rule; returns false when id is unknown.