SD:Issue2: ability.rb Refactoring