start of helper file to hold bus rules

alert in resetTime is just to make sure it can get the values form the
hidden input fields. Still missing the majority of the rules I think.