Tweaking protocol data type for security group rules