Move validates into rules module so it can be used more explicit in there