If you are sure that the rule engine is what you need, you need to find one that you can use in Ruby. A quick Google search resulted in Rools (http://rools.rubyforge.org/) and Ruby Rules (http://xircles.codehaus.org/projects/ruby-rules). However, I am not sure about the status of any project. Using JRuby with Drools may be your best bet, but then again, I'm a Java developer and a big pro with Drools. :)
, , . , , . , , : " 50 , , , ". hardcoding.
Weight , . , , : " , " ", , , " ". , , , .