Implement flatMap on Rule
Handle null in optionnal validation in Json