add space rules