<div>Greetings:</div>
<div> </div>
<div>I am a graduate student working on rules based systems in design. I had a very fundamental (theoretical) question </div>
<div>on rules usage and would appreciate if you could be so kind as to help.</div>
<div> </div>
<div>Consider a hypothetical university application that has the following objects:</div>
<div> </div>
<div>GradStudent</div>
<div>GradStudentRecord (which contains details such as GPA etc.)</div>
<div> </div>
<div>GIven the above(and based on the drools docs I have read so far)</div>
<div>I can write a rule as:</div>
<div> </div>
<div>when GradStudent.Record.GPA > 3 then student.standing = good</div>
<div> </div>
<div>So far everything is okay.</div>
<div> </div>
<div>Now consider the case where the University decides to have PhD Students.</div>
<div>Note that there are no PhDStudent objects in the application yet but </div>
<div>I wish to have a rule such as:</div>
<div>
<div>when PhDStudentRecord.GPA > 3.5 then student.standing = good</div>
<div> </div>
<div>Does the above scenario mean that I would have to code the application</div>
<div>and add an extra PhDStudent object before I can write a rule ?</div>
<div> </div>
<div>In other words, is the following proposition true?</div>
<div> </div>
<div>Proposition: if there are N objects in an application, and I wish to use </div>
<div>JBoss rules then the rule can be written only "in terms" of the N objects.</div>
<div>If there is a rule to be written for a new (K+1)th object, I would have to first code</div>
<div>that new object in the application and then write the rule. </div>
<div> </div>
<div>I would appreciate if anyone could validate my thoughts above. </div>
<div> </div>
<div>Sincerely,</div>
<div>Anup</div>
<div>GradStudent</div></div>
<div>Michigan Tech.</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>