Maybe

The maybe keyword specifies the chance of rules happening:

maybe(1/2) {
    @ => _
    _    @
}

The above rule only happens 50% of the time.

Last updated