checking var rules