Resolved Bug about remove event listener of sensors added on rules.

Jira issue HUBHAC-7