Cooked rice can attract vermin and as such using a compost bin or a bokashi bucket can be appealing. However, it should be remembered that the bokashi process is just a stage in the composting process. I doesn't turn into compost until after you empty the bucket as until then it is just sludge.