fix different type issue in write_rule_log_for_vm in security_group.py
Automation: Resource Limits - memory limits test cases