Fixed bad service saving in rules

Jira-issue: HUBHAC-7
Merge pull request #31 from dventura3/HUBHAC-7

Fixed bad service saving in rules