added bitwise shift and rotate to grammar