<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com/group/ruleby</id>
  <title type="text">Ruleby Google Group</title>
  <subtitle type="text">
  Discussion of the Rule Engine for Ruby, Ruleby.
  </subtitle>
  <link href="/group/ruleby/feed/atom_v1_0_msgs.xml" rel="self" title="Ruleby feed"/>
  <updated>2009-11-26T07:06:44Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>karthik</name>
  <email>rajuraju9...@gmail.com</email>
  </author>
  <updated>2009-11-26T07:06:44Z</updated>
  <id>http://groups.google.com/group/ruleby/browse_thread/thread/a4b1127a4d13cec5/5e6d7accabc07464?show_docid=5e6d7accabc07464</id>
  <link href="http://groups.google.com/group/ruleby/browse_thread/thread/a4b1127a4d13cec5/5e6d7accabc07464?show_docid=5e6d7accabc07464"/>
  <title type="text">The Importance of the Internet to Consumers and Construction Contractors</title>
  <summary type="html" xml:space="preserve">
  Internet technology has significantly influenced people&#39;s living and &lt;br&gt; the way business is done. It has opened every business available for &lt;br&gt; the whole world. Through websites, people can easily find a service or &lt;br&gt; product by the use of search engine like MSN, Yahoo or Google, since &lt;br&gt; these search engines give Web Page results. Hence, people find
  </summary>
  </entry>
  <entry>
  <author>
  <name>Matt Smith</name>
  <email>codeaspe...@gmail.com</email>
  </author>
  <updated>2009-11-24T10:01:07Z</updated>
  <id>http://groups.google.com/group/ruleby/browse_thread/thread/660d832d86e3c6d2/90138d3498e1f34c?show_docid=90138d3498e1f34c</id>
  <link href="http://groups.google.com/group/ruleby/browse_thread/thread/660d832d86e3c6d2/90138d3498e1f34c?show_docid=90138d3498e1f34c"/>
  <title type="text">Re: [ruleby] Version 0.6 is released</title>
  <summary type="html" xml:space="preserve">
  Good job Joe!
  </summary>
  </entry>
  <entry>
  <author>
  <name>Richard Pruss</name>
  <email>boa...@gmail.com</email>
  </author>
  <updated>2009-11-23T22:19:41Z</updated>
  <id>http://groups.google.com/group/ruleby/browse_thread/thread/660d832d86e3c6d2/2a433e39b7fd10ce?show_docid=2a433e39b7fd10ce</id>
  <link href="http://groups.google.com/group/ruleby/browse_thread/thread/660d832d86e3c6d2/2a433e39b7fd10ce?show_docid=2a433e39b7fd10ce"/>
  <title type="text">Re: [ruleby] Version 0.6 is released</title>
  <summary type="html" xml:space="preserve">
  Mmm, both conditional elements and the self reference are good news. &lt;br&gt; Thanks, &lt;br&gt; Ric
  </summary>
  </entry>
  <entry>
  <author>
  <name>Joe Kutner</name>
  <email>jpkut...@gmail.com</email>
  </author>
  <updated>2009-11-23T15:19:57Z</updated>
  <id>http://groups.google.com/group/ruleby/browse_thread/thread/660d832d86e3c6d2/f82509d9e21c5623?show_docid=f82509d9e21c5623</id>
  <link href="http://groups.google.com/group/ruleby/browse_thread/thread/660d832d86e3c6d2/f82509d9e21c5623?show_docid=f82509d9e21c5623"/>
  <title type="text">Version 0.6 is released</title>
  <summary type="html" xml:space="preserve">
  Version 0.6 of Ruleby has been released. Included in this release &lt;br&gt; are: &lt;br&gt; * Support for AND and OR conditional elements in the LHS of a rule &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://wiki.github.com/mattup/ruleby/ferrari#ce&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; * The ability to self-reference in the LHS without binding. Such as: &lt;br&gt; rule [Message, :m, m.status == m.message]
  </summary>
  </entry>
  <entry>
  <author>
  <name>jhc</name>
  <email>placidpun...@gmail.com</email>
  </author>
  <updated>2009-11-13T16:10:50Z</updated>
  <id>http://groups.google.com/group/ruleby/browse_thread/thread/78a7df37fbc9e45f/13977025f0750e95?show_docid=13977025f0750e95</id>
  <link href="http://groups.google.com/group/ruleby/browse_thread/thread/78a7df37fbc9e45f/13977025f0750e95?show_docid=13977025f0750e95"/>
  <title type="text">Re: Loading rules from external file</title>
  <summary type="html" xml:space="preserve">
  Ruleby::engine is OK with me. :-) &lt;br&gt; &lt;p&gt;I just wondered if this approach might help Jake retain his working &lt;br&gt; memory between reloads, or if there&#39;s some pitfall there. I saw &lt;br&gt; something in the source about needing to iterate over all facts when &lt;br&gt; new rules are added (the compare_to_wm method). Would that come into
  </summary>
  </entry>
  <entry>
  <author>
  <name>Joe Kutner</name>
  <email>jpkut...@gmail.com</email>
  </author>
  <updated>2009-11-13T15:44:46Z</updated>
  <id>http://groups.google.com/group/ruleby/browse_thread/thread/78a7df37fbc9e45f/65bc862bbd81686f?show_docid=65bc862bbd81686f</id>
  <link href="http://groups.google.com/group/ruleby/browse_thread/thread/78a7df37fbc9e45f/65bc862bbd81686f?show_docid=65bc862bbd81686f"/>
  <title type="text">Re: [ruleby] Re: Loading rules from external file</title>
  <summary type="html" xml:space="preserve">
  That should be fine. The only reason we have the Ruleby::engine &lt;br&gt; function is for convenience. And its probably only convenient for the &lt;br&gt; tests :) &lt;br&gt; &lt;p&gt;If you have any suggestions for other idioms that make instantiating &lt;br&gt; the engine easier, I&#39;d be happy to work them into the sources.
  </summary>
  </entry>
  <entry>
  <author>
  <name>jhc</name>
  <email>placidpun...@gmail.com</email>
  </author>
  <updated>2009-11-13T15:34:19Z</updated>
  <id>http://groups.google.com/group/ruleby/browse_thread/thread/78a7df37fbc9e45f/3d4a8ea92dd823b6?show_docid=3d4a8ea92dd823b6</id>
  <link href="http://groups.google.com/group/ruleby/browse_thread/thread/78a7df37fbc9e45f/3d4a8ea92dd823b6?show_docid=3d4a8ea92dd823b6"/>
  <title type="text">Re: Loading rules from external file</title>
  <summary type="html" xml:space="preserve">
  I&#39;m just starting to play around with Ruleby, so I may be off here. &lt;br&gt; But wouldn&#39;t it be possible to do something like this? &lt;br&gt; &lt;p&gt;class MyClass &lt;br&gt; def initialize &lt;br&gt; @wm = Ruleby::Core::WorkingMemory.ne w &lt;br&gt; load_rules &lt;br&gt; end &lt;br&gt; &lt;p&gt; def load_rules &lt;br&gt; @engine = Ruleby::Core::Engine.new(@wm) &lt;br&gt; # ...Read your (possibly updated) rules here...
  </summary>
  </entry>
  <entry>
  <author>
  <name>Jake Dempsey</name>
  <email>angelo0...@gmail.com</email>
  </author>
  <updated>2009-10-29T13:57:50Z</updated>
  <id>http://groups.google.com/group/ruleby/browse_thread/thread/b07f21799655b86b/a78683cbdd2b62c2?show_docid=a78683cbdd2b62c2</id>
  <link href="http://groups.google.com/group/ruleby/browse_thread/thread/b07f21799655b86b/a78683cbdd2b62c2?show_docid=a78683cbdd2b62c2"/>
  <title type="text">Re: Remove rule at runtime</title>
  <summary type="html" xml:space="preserve">
  Yeah I have something like this now...It works well if its a one to &lt;br&gt; one of retractor obj to cool obj. If you have 3 CoolObjs in working &lt;br&gt; memory and then send one retractor in..you will only remove one &lt;br&gt; CoolObj.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Jake Dempsey</name>
  <email>angelo0...@gmail.com</email>
  </author>
  <updated>2009-10-28T16:19:14Z</updated>
  <id>http://groups.google.com/group/ruleby/browse_thread/thread/78a7df37fbc9e45f/315b016afb421bca?show_docid=315b016afb421bca</id>
  <link href="http://groups.google.com/group/ruleby/browse_thread/thread/78a7df37fbc9e45f/315b016afb421bca?show_docid=315b016afb421bca"/>
  <title type="text">Re: Loading rules from external file</title>
  <summary type="html" xml:space="preserve">
  Yeah I would think the external dsl would be more valuable. I looked &lt;br&gt; at activerule but I dont think its needed. If a user defines a rule &lt;br&gt; using a dsl you could &amp;quot;compile&amp;quot; them in to ruleby rule definitions in &lt;br&gt; a flat file and just load those at runtime. At least that was my &lt;br&gt; thought :)
  </summary>
  </entry>
  <entry>
  <author>
  <name>Matt Smith</name>
  <email>codeaspe...@gmail.com</email>
  </author>
  <updated>2009-10-28T14:50:37Z</updated>
  <id>http://groups.google.com/group/ruleby/browse_thread/thread/78a7df37fbc9e45f/4bfdc847f7bf6098?show_docid=4bfdc847f7bf6098</id>
  <link href="http://groups.google.com/group/ruleby/browse_thread/thread/78a7df37fbc9e45f/4bfdc847f7bf6098?show_docid=4bfdc847f7bf6098"/>
  <title type="text">Re: [ruleby] Re: Loading rules from external file</title>
  <summary type="html" xml:space="preserve">
  Hi Jake, &lt;br&gt; &lt;p&gt;I started working on this several times, but never ended up with a good &lt;br&gt; solution. &lt;br&gt; &lt;p&gt;The ActiveRule code, &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://github.com/mattup/activerule&quot;&gt;[link]&lt;/a&gt; , was intending to &lt;br&gt; do something similar. The idea was to store the rules in the db, including &lt;br&gt; any metadata for each rule. I did manage to create a simple ActiveRecord
  </summary>
  </entry>
  <entry>
  <author>
  <name>Jake Dempsey</name>
  <email>angelo0...@gmail.com</email>
  </author>
  <updated>2009-10-28T12:45:22Z</updated>
  <id>http://groups.google.com/group/ruleby/browse_thread/thread/78a7df37fbc9e45f/3d218c8026d507e7?show_docid=3d218c8026d507e7</id>
  <link href="http://groups.google.com/group/ruleby/browse_thread/thread/78a7df37fbc9e45f/3d218c8026d507e7?show_docid=3d218c8026d507e7"/>
  <title type="text">Re: Loading rules from external file</title>
  <summary type="html" xml:space="preserve">
  I am looking at ruleby as a two part module. The first piece I want to &lt;br&gt; use it for is the execution of a ruleset. The actual rules management &lt;br&gt; should be externalized in my case. In an environment where customers &lt;br&gt; drive the rules you want them to be able to change those rules without &lt;br&gt; the need of a deployment or a svn commit. I have been noodling how I
  </summary>
  </entry>
  <entry>
  <author>
  <name>Joe Kutner</name>
  <email>jpkut...@gmail.com</email>
  </author>
  <updated>2009-10-28T01:42:57Z</updated>
  <id>http://groups.google.com/group/ruleby/browse_thread/thread/f02f77cfc8840551/ee148d254d3bda99?show_docid=ee148d254d3bda99</id>
  <link href="http://groups.google.com/group/ruleby/browse_thread/thread/f02f77cfc8840551/ee148d254d3bda99?show_docid=ee148d254d3bda99"/>
  <title type="text">Re: [ruleby] Modify vars</title>
  <summary type="html" xml:space="preserve">
  There should be nothing wrong with modifying two facts in the RHS of a &lt;br&gt; rule. But the key word there is &amp;quot;should.&amp;quot; If you can provide me with &lt;br&gt; a running sample of your problem I&#39;ll be glad to take a look at it. &lt;br&gt; &lt;p&gt;Joe
  </summary>
  </entry>
  <entry>
  <author>
  <name>Joe Kutner</name>
  <email>jpkut...@gmail.com</email>
  </author>
  <updated>2009-10-28T01:40:06Z</updated>
  <id>http://groups.google.com/group/ruleby/browse_thread/thread/78a7df37fbc9e45f/7e0713ba43d33071?show_docid=7e0713ba43d33071</id>
  <link href="http://groups.google.com/group/ruleby/browse_thread/thread/78a7df37fbc9e45f/7e0713ba43d33071?show_docid=7e0713ba43d33071"/>
  <title type="text">Re: [ruleby] Re: Loading rules from external file</title>
  <summary type="html" xml:space="preserve">
  These are both very interesting ways of building your rule base. &lt;br&gt; While they seem to work for the two of you, they make me feel like the &lt;br&gt; Rulebook design is lacking something. I would greatly welcome your &lt;br&gt; suggestions on how to improve it for these kinds of cases. &lt;br&gt; &lt;p&gt;The assert_rule method take a Rule object as a parameter. The Rule
  </summary>
  </entry>
  <entry>
  <author>
  <name>Joe Kutner</name>
  <email>jpkut...@gmail.com</email>
  </author>
  <updated>2009-10-28T01:32:49Z</updated>
  <id>http://groups.google.com/group/ruleby/browse_thread/thread/b07f21799655b86b/75e7cfe54099a410?show_docid=75e7cfe54099a410</id>
  <link href="http://groups.google.com/group/ruleby/browse_thread/thread/b07f21799655b86b/75e7cfe54099a410?show_docid=75e7cfe54099a410"/>
  <title type="text">Re: [ruleby] Remove rule at runtime</title>
  <summary type="html" xml:space="preserve">
  Ruleby does not support retracting rules at this time. &lt;br&gt; &lt;p&gt;In your case, I think you would be better served by creating a new &lt;br&gt; class that you can write rules for retracting facts around. Something &lt;br&gt; like this: &lt;br&gt; &lt;p&gt;class Retractor &lt;br&gt; attr :class_to_retract &lt;br&gt; end &lt;br&gt; &lt;p&gt;rule [CoolObj, :c, m.pk == params[:pk], m.type == params[:type]],
  </summary>
  </entry>
  <entry>
  <author>
  <name>Joe Kutner</name>
  <email>jpkut...@gmail.com</email>
  </author>
  <updated>2009-10-28T01:24:20Z</updated>
  <id>http://groups.google.com/group/ruleby/browse_thread/thread/72be44c858db0374/6c234fe8dbd399b8?show_docid=6c234fe8dbd399b8</id>
  <link href="http://groups.google.com/group/ruleby/browse_thread/thread/72be44c858db0374/6c234fe8dbd399b8?show_docid=6c234fe8dbd399b8"/>
  <title type="text">Re: [ruleby] Re: Not refiring rules on retract or modify</title>
  <summary type="html" xml:space="preserve">
  There is definitely some work that needs to be done here. &lt;br&gt; &lt;p&gt;The way in which Ruleby selects the activations to fire is designed so &lt;br&gt; that the Miss Manners benchmark will execute. That strategy is not &lt;br&gt; necessarily ideal for everyday applications. &lt;br&gt; &lt;p&gt;I will investigate adding a &amp;quot;noloop&amp;quot; feature like Drools has. I think
  </summary>
  </entry>
</feed>
