All rules implemented for parser. Not tested completely yet