Rust Oleum is a paint that is used for many different purposes. It can be used on metal, wood, and even concrete. While it is a great product for many things, you should not use it to kill grass.
There are better products out there that are specifically designed to kill grass. If you use Rust Oleum on your lawn, you will end up with dead patches of grass where you applied the paint.