Fixed PEG link
Merge pull request #126 from bakkegaard/master

Fixed PEG link
Dealing with issue #129, by changing named rules. They now call 'defined'.
Adding .directory to .gitignore.
Doc and unittest for 'defined'. See Issue #129.