Moved comments in ruler() to docstring, purged stale code, moved trucate to TODO