Fixed whitespace/line-endings. Added hierarchy rules.