Fixing unit tests for static Rule::create().