renamed rules.rb to rules (it will be interpreter pattern not dsl)