Hello Xiongyu,
The command contact groupbehavior was replaced by the matches keyword available in the range group logic. Here is a description of the keyword.
An example of distinguishing contacts between different object groups is provided in “Using the CMAT” tutorial. You can find this tutorial here. Scroll to the section called “Using Additional Slots” It explains how to use the matches keyword to distinguish contacts based on group types.