Fixed bad service saving in rules

Jira-issue: HUBHAC-7