Function hasEnableRule