rule validator and implementing default rule in lottory
new files of rule validator