What percent of your monthly income should be rent/mortgage?

I know there were rules in the past but what NOW is the rule?

The economy seems to have undergone a lot of changes and I just want to know if the wisdom of today is the same as the old rule