# Chitchat or rules not working after a slot was set

**URL:** <https://forum.rasa.com/t/chitchat-or-rules-not-working-after-a-slot-was-set/49784>\
**Category:** Rasa Open Source\
**Created:** [December 6, 2021, 3:02pm UTC](https://forum.rasa.com/t/chitchat-or-rules-not-working-after-a-slot-was-set/49784 "2021-12-06T15:02:13Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![andres\_pineiro](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/andres_pineiro/32/20388_2.png) [@andres\_pineiro](https://forum.rasa.com/u/andres_pineiro)\
**Post date:** [April 8, 2022, 9:33am UTC](https://forum.rasa.com/t/chitchat-or-rules-not-working-after-a-slot-was-set/49784/5 "2022-04-08T09:33:26Z")

</div>

Hi there Julia! I’m having the same problem with my rules after a slot was set. Did you understand why this is happening? Checking the debug logs, it seems that there is no rule to apply (I didn’t figure out why it don’t find the right rule only after the slot was set).

For me, the solution was to duplicate rules by adding a condition statement with the two options of the boolean slot:

```auto
- rule: rule greet 1
  condition:
  - slot_was_set:
    - my_bool_slot: true
  steps:
  - intent: greet
  - action: utter_greet

- rule: rule greet 2
  condition:
  - slot_was_set:
    - my_bool_slot: false
  steps:
  - intent: greet
  - action: utter_greet

```

Adding the rules to the stories works fine too. I would like to understand why this is happening though.

I’m using rasa 2.8 and the default policies pipeline.

Thanks!

---

_[View the full topic](https://forum.rasa.com/t/chitchat-or-rules-not-working-after-a-slot-was-set/49784)._
