Adds test for SpaceBeforeRule and fixes #182
Merge pull request #191 from ebraminio/master

Adds test for SpaceBeforeRule and fixes #182