getBoolean added to rule. + simple example added