Issue 791 New repository creation bug fixed.

I think qulice should complain here, asking to use `this.rule` instead