Fixed updateRule