Use getRules()
Merge pull request #20 from lucasmichot/empty-rules

Use getRules()