Calling is() with no args causes an error

Fixed parser to handle cases where there are no rule components.
Merge pull request #6 from clickinnovation/5-calling-is-with-no-args

Calling is() with no args causes an error