NB! It seems this console command is not compatible with CS2.
Command Profile

HOST_RULES_SHOW

CS:GO

This command can be used to set whether or not your server rules show when your server is queried. Default is enabled (1).

Syntax
host_rules_show [0 / 1]

Description

This command can be used to set whether or not your server rules show when your server is queried. Default is enabled (1).

How To Use host_rules_show

  1. Enable the developer console in Counter-Strike settings.
  2. Open the console with the tilde key (~).
  3. Enter host_rules_show [0 / 1], replacing bracketed arguments with the value you want, then press Enter.

This legacy command is not currently listed as compatible with Counter-Strike 2.

Syntax And Arguments

host_rules_show [0 / 1]
0 / 1 Set this to 0 to disable rules being shown when the server is queried. Set this to 1 to enable rules being shown when the server is queried (default).