Declare array with […] and not (…)

Partly fixes https://github.com/hoaproject/Ruler/pull/12.