Fix rule name parsing in lib/deffile.rb