rule: two boolean parameters with a flags field