Implemented base rules for expression evaluating.