title: How to add facts to JESS working memory when a event happend out of Jess
body: <p>How can I do to add new dynamic facts to working memory?
  for Example:
  If I have a rule like this:</p>
  
  <pre><code>(deftemplate person(slot idPerson)(slot age)(slot like))
  
  (defrule sports
  "Give a discount on sport items"
  (person {age &gt;18 &amp;&amp; age&lt;30}{like soccer}{idPerson ?idPerson})
  =&gt;
  (add (new offer"10% of discount on sport items to" ?idPerson)))
  </code></pre>
  
  <p>And.. If Jess is running until there are rule to fire.(run-until-halt)</p>
  
  <p>How can I do to add new facts to Jess working memory from another 
  application or script when a event happend out of Jess?</p>