Added the parser package with class file Rule

not finished yet