fixed elegant rules isset bug