How to add rules in a project?

No, not currently - rules are only at the task level.

You can vote for them to be added at the project/portfolio level here:

2 Likes