step_emit );
crushrule = str_p("rule") >> !name >> '{'
>> (str_p("id") | str_p("ruleset")) >> posint
- >> str_p("type") >> ( str_p("replicated") | str_p("erasure") )
- >> str_p("min_size") >> posint
- >> str_p("max_size") >> posint
+ >> str_p("type") >> ( str_p("replicated") | str_p("erasure") )
+ >> !(str_p("min_size") >> posint)
+ >> !(str_p("max_size") >> posint)
>> +step
>> '}';