Fixed rules_indent

Closed #1. Also fixed some linting issues and added rows to the line
objects