Validation fixes for modifying security group rules.GUI-158