Fix the error when create an other type security group rule Change-Id: I0a73d2a7f1309c1ce1bd5e630d6cb24751ee64ad