fixing manifest rules