Validator: rules are saved as plain arrays
Validator: added getter of rules
Generator: providers may not return image at all => 404 [closes #3]