Application of Fuzzy Rules to Pacemaker Control