Fixed updateRule
Merge pull request #2 from glatorre/master

Fixed updateRule method
Jira issue: WP-932