fix crash as soon a layer is choosen when defining a rule
rename ui members
Merge pull request #505 from vinayan/7477-add-rule-crash

 [FIX #7477] Topology Checker - Crash as soon a layer is choosen when defining a rule