Remove unused code
Fix textfield in rules croped
Fix missing @end
Merge branch 'CPRuleEditor-fixes' of https://github.com/cacaodev/cappuccino into pr-1718