Is it okay and safe to store pulses, grains, rice etc. in these containers?
When storing nonperishable dry foods, such as pulses or grains or protein powder, you want the container to be reasonably airtight and impermeable, which that container appears to be. There aren't any other major considerations. Should be fine.