How to set an action to unpublish a comment with rules?
If you choose the action "Set a data value" and a comment is visible to the action (e.g. because the triggering event is "After saving a new comment") then the data selector will let you choose

comment:status


which you can then choose to set to "Published" or "Unpublished", or (via a data selection) to another available value.