Add AbstractSpaceBeforeRule and move common logic into it
Merge pull request #190 from ebraminio/master

Add AbstractSpaceBeforeRule and move common logic into it