pub fn cmd_rules_create( workspace: Option<&Path>, name: &str, filter: &str, action: &str, message: Option<String>, ) -> Result<()>