update 'li' rule