made the guardrule name unique in device/share API

Change-Id: Icbf2bcae4d42170c4c4bd42dcc7e918d70212d3a