Add tests for Rule init, invalid cases
Add tests for Rule init, invalid cases

Adds tests for empty path arrays and invalid types.

Empty path arrays because the Rules have to act on paths.
Invalid types are invalid because they are not strings.

IATI/iati.core,IATI/iati.core