def getRules(event, bubbled=False):
    """Get all enabled rules registered for the given event and
        assigned to this context. If bubbled is True, only rules that are
        bubbleable will be returned.
        """
