New: add rule for multiple empty lines (fixes #1254)

fixes #1254
Add copyright here too.