added rules as global valid mask