Rule builder for relative dates

Rule builder for relative dates