You can add a content rule to a SubVS by using the Add-NewAdcRealServerRule command. You must specify the Real Server ID (RsIndex) of the SubVS for this to work.

An example command with output is provided below.

$new = New-AdcRealServerRule -RuleName Test1 -RSIndex 1 -VirtualService 10.35.47.50 -VSPort 443 -VSProtocol tcp
 
$new | Format-List
 
ReturnCode : 200
Response   : Command successfully executed.
Data       :