Could reach end of rulesFromJsonV4 method without returning a QList

It was possible for execution to reach the end of the rulesFromJsonV4
method without returning. This was causing a crash on OS X when parsing
rules inside an instance.