Use property access to read properties(method/array) from a source.

Wait for https://github.com/hoaproject/Ruler/pull/16 to be merged.