editing rules() and  attributeLebals() method