Added date-rules.js file.

Added the primary file of project.