Facing some hurdles as:
This Article says Apply AND on what ( i don't want to apply more than one condition, also that says data layer variable need to be created?
Please provide some directions.
You should be able to achieve what you describe easily.
Ignore the "data layer variable" targeting section in the article - this is a different type of variable that is useful for users of the Google Tag Manager product.
Optimize requires to always have a URL or Path targeting rule, but this is just in order to help users avoid mistakes for the most common use cases.
You can just use a rule like "URL regex .*" or "URL starts with <your domain>" and target all pages of your site.